]> git.mxchange.org Git - core.git/blobdiff - framework/config-global.php
fixed namespace for FiLoStacker + removed config entry which does not point to
[core.git] / framework / config-global.php
index 303029d5aba7ed6ea1b11ec329424dc4f1c6c3f3..d4bdf2bfc15fc80dacb73a19da895e33c9dd8730 100644 (file)
@@ -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);
@@ -417,9 +417,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 +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');
 
@@ -465,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);