Go to the source code of this file.
Variables | |
| $normalize | |
| $expectedBase = rtrim($normalize(realpath(dirname(__DIR__, 3))), '/') . '/' | |
| $base = $normalize(dbx()->get_base_dir()) | |
| $files = $normalize(dbx()->get_file_dir()) | |
| if( $base !==$expectedBase) if($files !==$expectedBase . 'files/') | $stored = dbx()->config_path_store($expectedBase . 'files/test/', true) |
| if($stored !=='files/test/') | $resolved = $normalize(dbx()->config_path_resolve($stored)) |
| if($resolved !==$expectedBase . 'files/test/') | $config |
| $cleanConfig = dbx()->get_system_obj('dbxConfigStore')->normalize_for_store($config) | |
| if(array_keys( $cleanConfig[ 'db'] ?? array()) !==array( 'main')) | if (dbx() ->error_type(E_WARNING) !=='E_WARNING'||dbx() ->error_type(-123) !=='E_UNKNOWN') |
| $base = $normalize(dbx()->get_base_dir()) |
Definition at line 11 of file dbxApi_paths_test.php.
Referenced by config_path_store(), dbx\myLKW\dbx_get_datum(), dbx_lng_name(), drawShirt(), dbxApi\editor_file_path(), dbxDD\find_dd_for_db_table(), dbxTPL\get_design_tpl_dir_file(), dbx\dbxHelp\dbxHelp_content\getServerInfoHTML(), mod_class_files(), dbxTPL\read_tpl(), redirect(), dbx\dbxEditor\dbxEditor\run(), dbx\dbxAdmin\dbxSchema\schema_row_action_data(), dbx\dbxContent\dbxContentMediaResponse\serve_request(), dbx\dbxAdmin\server_row_action_data(), dbx\dbxAdmin\dbxModuleImages\suggestFilename(), dbx\dbxContent\dbxContent_permalink\unique(), dbx\dbxAdmin\dbxUpdateService\validateManifest(), and dbx\dbxShop_admin\dbxShopAdmin\withdrawal_report_next_record().
| $cleanConfig = dbx()->get_system_obj('dbxConfigStore')->normalize_for_store($config) |
Definition at line 40 of file dbxApi_paths_test.php.
| if ( $resolved !==$expectedBase . 'files/test/') $config |
Definition at line 35 of file dbxApi_paths_test.php.
Referenced by dbx\dbxKi\dbxKiWritingStyles\all(), dbxWebApp\check_config(), dbxWebApp\check_design(), dbxWebApp\check_lng(), dbx\dbxAdmin\dbxUpdateService\configured(), dbxWebApp\create_new_cfg(), dbx\dbxContent\dbxContentPageCache\currentDesign(), dbx\dbxContent_admin\dbxContent_seo\ensure_default_og_image(), dbxApi\get_config(), dbxDB\get_db_type(), dbxDB\get_dd_server_bindings(), dbxTPL\get_design_tpl(), dbxSession\get_new_session(), dbxConfigStore\normalize_for_store(), read_public_config(), dbx\dbxDesign_admin\dbxDesignAdmin\renderList(), dbx\dbxAdmin\report_server(), dbx\dbxKi\dbxKiWritingStyles\resetToDefaults(), dbx\dbxAdmin\dbxConfig_dbxContent\run(), dbx\dbxAdmin\dbxDDServerBindings\run(), dbx\dbxKi\dbxKi\run(), dbx\dbxSetup\dbxInstall\run(), dbx\myLKW\myLKW_dayset\run(), dbx\myLKW\myLKW_dayshift\run(), dbxMail\send(), set_config(), dbx\dbxContent\dbxContentPageCache\setConfigEnabled(), dbxConfigStore\strip_module_db_entries(), and value_at().
| $expectedBase = rtrim($normalize(realpath(dirname(__DIR__, 3))), '/') . '/' |
Definition at line 10 of file dbxApi_paths_test.php.
| $files = $normalize(dbx()->get_file_dir()) |
Definition at line 12 of file dbxApi_paths_test.php.
Referenced by dbxWebApp\add_editor_files_data(), dbxFileWalker\create_que(), dbxFileWalker\filewalker(), dbxDD\get_dd_tables(), dbx\dbxSelfTest\dbxSelfTestRunner\history(), dbx\dbxAdmin\dbxUpdateService\inspectPackage(), mod_class_files(), dbx\dbxDesign_admin\dbxDesignService\relativeFiles(), dbx\dbxAdmin\dbxModuleImages\saveList(), and update_test_inventory().
| $normalize |
Definition at line 6 of file dbxApi_paths_test.php.
| if ( $stored !=='files/test/') $resolved = $normalize(dbx()->config_path_resolve($stored)) |
Definition at line 29 of file dbxApi_paths_test.php.
Referenced by dbxForm\check_fld_data(), dbxWebApp\check_perma(), and dbxForm\get_fld_val().
| if($base !==$expectedBase) if ( $files !==$expectedBase . 'files/') $stored = dbx()->config_path_store($expectedBase . 'files/test/', true) |
Definition at line 23 of file dbxApi_paths_test.php.
Referenced by dbx\dbxKi\dbxKiWritingStyles\all(), dbxDD\auto_schema_mapping(), dbxDD\build_schema_mapping(), and run_web_app_request().
| if(array_keys($cleanConfig['db'] ?? array()) !==array('main')) if(dbx() ->error_type(E_WARNING) !=='E_WARNING'||dbx() ->error_type(-123) !=='E_UNKNOWN') | ( | dbx() ->error_type(E_WARNING) ! | = = 'E_WARNING' || dbx()->error_type(-123) !== 'E_UNKNOWN' | ) |
Definition at line 46 of file dbxApi_paths_test.php.