Development

Changeset 6770

You must first sign up to be able to contribute.

Changeset 6770

Show
Ignore:
Timestamp:
12/27/07 19:22:02 (6 months ago)
Author:
fabien
Message:

fixed minor things

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.1/lib/config/sfPhpConfigHandler.class.php

    r4938 r6770  
    102102        } 
    103103 
    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()); 
    105105// FIXME: sfContext is not yet initialized, so the logger is a sfNoLogger instance. 
    106106//        $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  
    165165      } 
    166166 
    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))); 
    168168    } 
    169169 
  • branches/1.1/lib/util/sfContext.class.php

    r6497 r6770  
    5353    if (sfConfig::get('sf_logging_enabled')) 
    5454    { 
    55       $this->factories['logger']->info('{sfContext} initialization'); 
     55      $this->dispatcher->notify(new sfEvent($this, 'application.log', array('Initilization'))); 
    5656    } 
    5757