Changeset 6770
- Timestamp:
- 12/27/07 19:22:02 (6 months ago)
- Files:
-
- branches/1.1/lib/config/sfPhpConfigHandler.class.php (modified) (1 diff)
- branches/1.1/lib/controller/sfController.class.php (modified) (1 diff)
- branches/1.1/lib/util/sfContext.class.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.1/lib/config/sfPhpConfigHandler.class.php
r4938 r6770 102 102 } 103 103 104 $warning = sprintf('{sfPhpConfigHandler} php.ini "%s" key is better set to "%s" (current value is "%s" - %s)', $key, var_export($value, true), var_export(ini_get($key), true), $this->get_ini_path());104 // $warning = sprintf('{sfPhpConfigHandler} php.ini "%s" key is better set to "%s" (current value is "%s" - %s)', $key, var_export($value, true), var_export(ini_get($key), true), $this->get_ini_path()); 105 105 // FIXME: sfContext is not yet initialized, so the logger is a sfNoLogger instance. 106 106 // $data[] = sprintf("if (ini_get('%s') != %s)\n{\n sfContext::getInstance()->getLogger()->warning('%s');\n}\n", $key, var_export($value, true), str_replace("'", "\\'", $warning)); branches/1.1/lib/controller/sfController.class.php
r6765 r6770 165 165 } 166 166 167 throw new sfControllerException(sprintf(' {sfController} controller "%s/%s" does not exist in: %s.', $moduleName, $controllerName, implode(', ', $dirs)));167 throw new sfControllerException(sprintf('Controller "%s/%s" does not exist in: %s.', $moduleName, $controllerName, implode(', ', $dirs))); 168 168 } 169 169 branches/1.1/lib/util/sfContext.class.php
r6497 r6770 53 53 if (sfConfig::get('sf_logging_enabled')) 54 54 { 55 $this-> factories['logger']->info('{sfContext} initialization');55 $this->dispatcher->notify(new sfEvent($this, 'application.log', array('Initilization'))); 56 56 } 57 57