Changeset 1119
- Timestamp:
- 10/15/08 16:00:03 (3 months ago)
- Files:
-
- trunk/lib/jelix/core/jConfigCompiler.class.php (modified) (7 diffs)
- trunk/lib/jelix/CREDITS (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/jelix/core/jConfigCompiler.class.php
r1096 r1119 4 4 * @subpackage core 5 5 * @author Jouanneau Laurent 6 * @contributor Thibault PIRONT < nuKs >, Christophe Thiriot 6 * @contributor Thibault PIRONT < nuKs >, Christophe Thiriot, Philippe Schelté 7 7 * @copyright 2006-2008 Jouanneau laurent 8 * @copyright 2007 Thibault PIRONT, 2008 Christophe Thiriot 8 * @copyright 2007 Thibault PIRONT, 2008 Christophe Thiriot, 2008 Philippe Schelté 9 9 * @link http://www.jelix.org 10 10 * @licence GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html … … 82 82 jIniFile::write(get_object_vars($config), JELIX_APP_TEMP_PATH.str_replace('/','~',$configFile).'.resultini.php', ";<?php die('');?>\n"); 83 83 } 84 #elseif WITH_BYTECODE_CACHE 84 #elseif WITH_BYTECODE_CACHE 85 85 $filename=JELIX_APP_TEMP_PATH.str_replace('/','~',$configFile).'.conf.php'; 86 86 if ($f = @fopen($filename, 'wb')) { … … 100 100 */ 101 101 static protected function prepareConfig($config){ 102 102 103 103 $config->isWindows = (DIRECTORY_SEPARATOR === '\\'); 104 104 if(trim( $config->startAction) == '') { … … 114 114 if($config->checkTrustedModules){ 115 115 $config->_trustedModules = explode(',',$config->trustedModules); 116 if(!in_array('jelix',$config-> trustedModules))117 $config-> trustedModules[]='jelix';116 if(!in_array('jelix',$config->_trustedModules)) 117 $config->_trustedModules[]='jelix'; 118 118 }else{ 119 119 $config->_trustedModules = array_keys($config->_modulesPathList); … … 199 199 if(substr($p,-1) !='/') 200 200 $p.='/'; 201 if($k!=0) 201 if($k!=0) 202 202 $allBasePath[]=$p; 203 203 if ($handle = opendir($p)) { … … 219 219 static protected function _loadPluginsPathList(&$config){ 220 220 $list = split(' *, *',$config->pluginsPath); 221 array_unshift($list, JELIX_LIB_PATH.'plugins/'); 221 array_unshift($list, JELIX_LIB_PATH.'plugins/'); 222 222 foreach($list as $k=>$path){ 223 223 if(trim($path) == '') continue; … … 234 234 if ($f{0} != '.' && is_dir($p.$f)) { 235 235 if($subdir = opendir($p.$f)){ 236 if($k!=0) 236 if($k!=0) 237 237 $config->_allBasePath[]=$p.$f.'/'; 238 238 while (false !== ($subf = readdir($subdir))) { trunk/lib/jelix/CREDITS
r1108 r1119 181 181 Philippe Schelte (aka dubphil) 182 182 - plugin tpl cycle (#149) 183 - error in checkTrustedModules function (#715) 183 184 184 185 Warren Seine (aka SooW)
