Index: branches/5.2.x/core/kernel/utility/unit_config_reader.php =================================================================== diff -u -N -r15707 -r16250 --- branches/5.2.x/core/kernel/utility/unit_config_reader.php (.../unit_config_reader.php) (revision 15707) +++ branches/5.2.x/core/kernel/utility/unit_config_reader.php (.../unit_config_reader.php) (revision 16250) @@ -1,6 +1,6 @@ Application->cacheManager->applyDelayedUnitProcessing(); + + if ( !$this->Application->InitDone && $cache ) { + // Allow hooks to modify "m:QueryString" before URL parsing is started during cold start. + $this->runAfterConfigRead('m'); + } } function findConfigFiles($folderPath, $level = 0) @@ -799,9 +804,9 @@ $file = $this->prefixFiles[$prefix]; $prefix = $this->PreloadConfigFile($file); - if ($this->FinalStage) { - // run prefix OnAfterConfigRead so all - // hooks to it can define their clonses + if ( $this->FinalStage || $prefix == 'm' ) { + // Run prefix OnAfterConfigRead so all hooks to it can define their clones. + // Allow hooks to modify "m:QueryString" before URL parsing is started during warm start. $this->runAfterConfigRead($prefix); } @@ -1016,4 +1021,4 @@ } } -} \ No newline at end of file +}