FileManager
App
# 📁 FileManager ```js FileManager.Select({ type:'file' }).then(e=>{ console.log( 'Selected File path is :', e[0] ) }) ``` # ✅ Todo + /master/folder/root/file/x -> folder view - /master/file/root/file/x -> edit file - /master/code/root/ -> for codeview # ✅ Task + Remove Engine some codes + FileManager.Select + ?page=file-master&path=/sites/apps.asenax sabitlenmesi - web-editable-connect check - Ctrl-W problem # 🔬 Test Test # 📄 Document ## ➡ FrontEnd **fileManager.on** : Detect fileManager events. ``` fileManager.on("*",function(event,data){ console.log(event,data) }) fileManager.on("dir",function(data){ console.log(data) }) ``` ## ⬅ BackEnd * FileManager::DefineOptions * FileManager::Run_All * FileManager::IsLogin() -> bool ```php FileManager::DefineOptions([ "BACK_END_FILE_MANAGER_ROOT" => $_SERVER["DOCUMENT_ROOT"].'/upload/', "CREATE_THUMBNAIL" => true, "THUMBNAIL_WIDTH" => 60, "SHOW_FOLDER_SIZE" => false, "SECURITY_ENABLED" => true, "SECURITY_SESSION_NAME" => 'web-editable-session-template', "SECURITY_USERS" => [ "username" => "password" ] ]); FileManager::Run_All(); $logined = FileManager::IsLogin(); ``` ## 📁 Examples