X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=framework%2Fconfig-global.php;h=d4bdf2bfc15fc80dacb73a19da895e33c9dd8730;hp=ad84b4288f1459a1baa7a12ac7951f05f14d69bc;hb=c78c33ca9cf6231625c9736383c8dfd504480629;hpb=9f4330f0a05469e16ce9138783dbd2589fa19b0d diff --git a/framework/config-global.php b/framework/config-global.php index ad84b428..d4bdf2bf 100644 --- a/framework/config-global.php +++ b/framework/config-global.php @@ -33,7 +33,7 @@ use CoreFramework\EntryPoint\ApplicationEntryPoint; $cfg = FrameworkConfiguration::getSelfInstance(); // CFG: ROOT-BASE-PATH -$cfg->setConfigEntry('root_base_path', ApplicationEntryPoint::getRootPath() . '/'); +$cfg->setConfigEntry('root_base_path', ApplicationEntryPoint::getRootPath() . DIRECTORY_SEPARATOR); // CFG: CORE-BASE-PATH $cfg->setConfigEntry('framework_base_path', ApplicationEntryPoint::detectFrameworkPath()); @@ -298,7 +298,7 @@ $cfg->setConfigEntry('guest_class', 'CoreFramework\User\Guest\Guest'); $cfg->setConfigEntry('cookie_expire', (60*60*2)); // Two hours! // CFG: COOKIE-PATH -$cfg->setConfigEntry('cookie_path', $cfg->detectScriptPath() . '/'); +$cfg->setConfigEntry('cookie_path', $cfg->detectScriptPath() . DIRECTORY_SEPARATOR); // CFG: COOKIE-DOMAIN $cfg->setConfigEntry('cookie_domain', $cfg->detectDomain()); // Is mostly the same... @@ -322,7 +322,7 @@ $cfg->setConfigEntry('product_install_mode', 'debug'); $cfg->setConfigEntry('decimals', 3); // CFG: MENU-STACKER-CLASS -$cfg->setConfigEntry('menu_stacker_class', 'CoreFramework\Stacker\File\FiLoStacker'); +$cfg->setConfigEntry('menu_stacker_class', 'CoreFramework\Stacker\FiLoStacker'); // CFG: STACKER-GENERIC-MAX-SIZE $cfg->setConfigEntry('stacker_generic_max_size', 100); @@ -432,9 +432,6 @@ $cfg->setConfigEntry('task_idle_loop_max_runs', 0); // CFG: IDLE-LOOP-TIME (5 milli seconds) $cfg->setConfigEntry('idle_loop_time', 5); -// CFG: SHUTDOWN-TASK-VISITOR-CLASS -$cfg->setConfigEntry('shutdown_task_visitor_class', 'CoreFramework\Visitor\Task\Shutdown\ShutdownTaskVisitor'); - // CFG: DEFAULT-IMAGE-COMMAND $cfg->setConfigEntry('default_image_command', 'build'); @@ -462,5 +459,8 @@ $cfg->setConfigEntry('extension_scrypt_loaded', false); // CFG: EXTENSION-UUID-LOADED (By default uuid is assumed absent and later tested being there) $cfg->setConfigEntry('extension_uuid_loaded', false); +// CFG: REGISTRY-ITERATOR-CLASS +$cfg->setConfigEntry('registry_iterator_class', 'CoreFramework\Iterator\Registry\RegistryIterator'); + // Remove config from this name-space. Don't worry, no configuration is cleared. unset($cfg);