Changeset 15

Show
Ignore:
Timestamp:
01/03/06 01:16:37 (3 years ago)
Author:
laurentj
Message:

ajout d'un plugin magicquotes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/jelix/core/jCoordinator.class.php

    r12 r15  
    188188                if($conf=='1') 
    189189                    $conf=$name.'.plugin.ini.php'; 
    190  
    191                 $conf = parse_ini_file(JELIX_APP_CONFIG_PATH.$conf); 
     190                if(file_exists(JELIX_APP_CONFIG_PATH.$conf)){ 
     191                   $conf = parse_ini_file(JELIX_APP_CONFIG_PATH.$conf); 
     192                }else{ 
     193                    $conf = array(); 
     194                } 
    192195                include( $this->pluginPathList[$name]); 
    193196                $class= $name.'Plugin'; 
  • trunk/lib/jelix/core/jRequest.class.php

    r1 r15  
    7474 
    7575    public function getParam($name, $defaultValue=null, $useDefaultIfEmpty=false){ 
    76 //var_dump(         $this->params); 
    7776 
    78 //echo '#',$name,'#',$defaultValue,'#<br>'; 
    7977        if(isset($this->params[$name])){ 
    8078            if($useDefaultIfEmpty && trim($this->params[$name]) == ''){ 
Download in other formats: Unified Diff Zip Archive