Ticket #638: jelix-trunk-#638.2.patch

File jelix-trunk-#638.2.patch, 1.5 kB (added by bibo, 5 months ago)

some nit corrections

  • lib/jelix/core/jCoordinator.class.php

    old new  
    33* @package      jelix 
    44* @subpackage   core 
    55* @author       Laurent Jouanneau 
    6 * @contributor  Thibault PIRONT < nuKs >, Julien Issler 
     6* @contributor  Thibault PIRONT < nuKs >, Julien Issler, Dominique Papin 
    77* @copyright    2005-2008 laurent Jouanneau 
    88* @copyright    2007 Thibault PIRONT 
    99* @copyright    2008 Julien Issler 
     10* @copyright    2008 Dominique Papin 
    1011* @link         http://www.jelix.org 
    1112* @licence      GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html 
    1213*/ 
     
    298299        // When we are in cmdline we need to fix the remoteAddr 
    299300        $remoteAddr = isset($_SERVER['REMOTE_ADDR']) ? $_SERVER['REMOTE_ADDR'] : '127.0.0.1'; 
    300301 
    301         // formatage du message 
     302        // url params including module and action 
     303        $url = str_replace('array', 'url', var_export($this->request->params, true)); 
     304 
     305        // formatting message 
    302306        $messageLog = strtr($conf['messageLogFormat'], array( 
    303307            '%date%' => date("Y-m-d H:i:s"), 
    304308            '%ip%'   => $remoteAddr, 
    305309            '%typeerror%'=>$type, 
    306310            '%code%' => $code, 
    307311            '%msg%'  => $message, 
     312            '%url%'  => $url, 
    308313            '%file%' => $file, 
    309314            '%line%' => $line, 
    310315            '\t' =>"\t", 
Download in other formats: Original Format