X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=framework%2Fconfig-global.php;h=68af380e17908d69ace120acd30975ad5cc14673;hb=060297c0efcdcfab4935d6eee825cd376c318ef4;hp=303029d5aba7ed6ea1b11ec329424dc4f1c6c3f3;hpb=54a56ed3c7cef5e7989100d2c5a7de8647d545de;p=core.git diff --git a/framework/config-global.php b/framework/config-global.php index 303029d5..68af380e 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()); @@ -50,10 +50,6 @@ $cfg->setConfigEntry('local_database_path', $cfg->getConfigEntry('root_base_path // CFG: TIME-ZONE $cfg->setDefaultTimezone('Europe/Berlin'); -// CFG: MAGIC-QUOTES-RUNTIME -// @DEPRECATED As PHP is deprecating this -$cfg->setMagicQuotesRuntime(false); - // CFG: CLASS-PREFIX $cfg->setConfigEntry('class_prefix', 'class_'); @@ -298,7 +294,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 +318,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); @@ -417,9 +413,6 @@ $cfg->setConfigEntry('list_group_class', 'CoreFramework\Lists\Group\ListGroupLis // CFG: DEFAULT-ITERATOR-CLASS $cfg->setConfigEntry('default_iterator_class', 'CoreFramework\Iterator\DefaultIterator'); -// CFG: ACTIVE-TASK-VISITOR-CLASS -$cfg->setConfigEntry('active_task_visitor_class', 'CoreFramework\Visitor\Task\Active\ActiveTaskVisitor'); - // CFG: IDLE-TASK-CLASS $cfg->setConfigEntry('idle_task_class', 'CoreFramework\Task\IdleLoop\IdleLoopTask'); @@ -435,9 +428,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'); @@ -465,5 +455,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);