["pwd"=>"wasd","root"=>true,"locale"=>"usr.en"], "demo" =>["pwd"=>"wasd","locale"=>"usr.ru"] ]); //NOTE: ADMINS==["login"=>["pwd"=>"password","db_name"=>"own_database","db_login"=>"own_db_login","db_password"=>"own_db_password","locale"=>"en","custom_js"=>"some_additional_js","custom_css"=>"personally_tuned_stylesheet"]]; // Where "login" and "pwd" - is admin's authorization data, optional "own_database","own_db_login" and "own_db_password" - allows to assign specific database or DB login with specific priviledges. //------- file manager -------// define("FILE_ACCESS",[ "wasd"=>["/content/"=>06], "demo"=>["/content/"=>06], ]); //NOTE: FILE_ACCESS==["login"=>["folder"=>permissions,"folder2"=>permissions]]; // Where "folder" - is a path starting from the $_SERVER["DOCUMENT_ROOT"], and the "permissions" is an integer rwx permissions to the folder contents: "r" - read, "w" - write, "x" - access to *.php, *.html and .htaccess files according to r/w rule. //------- security -------// define("SERVER_HOST","demo.maniacalipsis.ru"); //$_SERVER["HTTP_HOST"] may be vulnerable to substitution from client-side //------- appearance -------// define("SITE_NAME","demo"); define("CUSTOM_CSS",""); define("ENTRANCE_LOGO","/images/logo_entrance.svg"); define("SITE_LOGO","/images/logo_admin.svg"); define("DEFAULT_LOCALE","ru"); //This locale will be used before login and if no "locale" is set for active admin account. This value corresponds to the suffix of locale_XX.php file into ADMIN_COMMON_FOLDER. define("DEFAULT_ROWS_PER_PAGE",25); //define("CUSTOM_MENU",[["level"=>0,"link"=>"","name"=>""]]); //Add custom menu lines for extra modules or whatever you need. Menu elemant format is ["level"=>0,"group_val"=>NULL,"link"=>"","name"=>""], where "level" - level of nesting, starts from 0, "group_val" - optional, allows to group some links, having the same not NULL "group_val" values, within one menu item (such links shall be consequent and belongs to the same level). //------- charset -------// define("OUTPUT_CHARSET","UTF-8"); define("DB_CHARSET","utf8"); define("DB_LINE_END","\r\n"); //------- JSON -------// define("XHR_HEADER_KEY","HTTP_X_REQUESTED_WITH"); //key of XHR header in $_SERVER array define("XHR_HEADER_VAL","JSONHttpRequest"); //value of XHR header define("JSON_ENCODE_OPTIONS",JSON_HEX_APOS|JSON_HEX_QUOT|JSON_PARTIAL_OUTPUT_ON_ERROR); //options for json_encode(). See PHP man pages for details. //------- debug -------// define("DEBUG",true); //turns on/off debug features in some core functions ?>

Fatal error: Uncaught Error: Undefined constant "CORE_FOLDER" in /var/www/demo/index.php:23 Stack trace: #0 {main} thrown in /var/www/demo/index.php on line 23