Changeset 1005
- Timestamp:
- 07/08/08 11:55:45 (2 months ago)
- Files:
-
- branches/1.0.x/lib/jelix/CREDITS (modified) (1 diff)
- branches/1.0.x/lib/jelix/dao/jDaoGenerator.class.php (modified) (1 diff)
- trunk/lib/jelix/CREDITS (modified) (1 diff)
- trunk/lib/jelix/dao/jDaoGenerator.class.php (modified) (1 diff)
- trunk/lib/jelix/init.php (modified) (1 diff)
- trunk/testapp/application.init.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.0.x/lib/jelix/CREDITS
r992 r1005 139 139 - fixed minor bugs 140 140 141 Thomas 142 - fixed bugs in jDao (#576) 143 141 144 Christian Tritten 142 145 - improvements on pagelinks plugin (#340) branches/1.0.x/lib/jelix/dao/jDaoGenerator.class.php
r968 r1005 311 311 if($value[1]){ 312 312 foreach($method->getParameters() as $param){ 313 $value[0] = str_replace('$'.$param, '\'.'.$this->_preparePHPExpr('$'.$param, $updatefields[$propname], false).'.\'',$value[0]);313 $value[0] = str_replace('$'.$param, '\'.'.$this->_preparePHPExpr('$'.$param, $updatefields[$propname],true).'.\'',$value[0]); 314 314 } 315 315 $sqlSet.= ', '.$this->_encloseName($updatefields[$propname]->fieldName). '= '. $value[0]; trunk/lib/jelix/CREDITS
r996 r1005 161 161 - <script /> tags don't end with a newline (#536) 162 162 163 Thomas 164 - fixed bugs in jDao (#576) 165 163 166 Christian Tritten 164 167 - improvements on pagelinks plugin (#340) trunk/lib/jelix/dao/jDaoGenerator.class.php
r839 r1005 311 311 if($value[1]){ 312 312 foreach($method->getParameters() as $param){ 313 $value[0] = str_replace('$'.$param, '\'.'.$this->_preparePHPExpr('$'.$param, $updatefields[$propname], false).'.\'',$value[0]);313 $value[0] = str_replace('$'.$param, '\'.'.$this->_preparePHPExpr('$'.$param, $updatefields[$propname],true).'.\'',$value[0]); 314 314 } 315 315 $sqlSet.= ', '.$this->_encloseName($updatefields[$propname]->fieldName). '= '. $value[0]; trunk/lib/jelix/init.php
r824 r1005 50 50 define ('JELIX_LIB_CORE_PATH', JELIX_LIB_PATH.'core/'); 51 51 define ('JELIX_LIB_UTILS_PATH', JELIX_LIB_PATH.'utils/'); 52 define ('LIB_PATH', realpath(JELIX_LIB_PATH.'../').'/');52 define ('LIB_PATH', dirname(JELIX_LIB_PATH).'/'); 53 53 54 54 #if WITH_BYTECODE_CACHE == 'auto' trunk/testapp/application.init.php
r38 r1005 3 3 * @package jelix 4 4 * @subpackage testapp 5 * @version $Id$6 5 * @author Jouanneau Laurent 7 6 * @contributor 8 * @copyright 2005-200 6Jouanneau laurent7 * @copyright 2005-2008 Jouanneau laurent 9 8 * @link http://www.jelix.org 10 9 * @licence http://www.gnu.org/licenses/gpl.html GNU General Public Licence, see LICENCE file … … 15 14 16 15 define ('JELIX_APP_TEMP_PATH', realpath(JELIX_APP_PATH.'../temp/testapp/').'/'); 17 define ('JELIX_APP_VAR_PATH', realpath(JELIX_APP_PATH.'var/').'/');18 define ('JELIX_APP_LOG_PATH', realpath(JELIX_APP_PATH.'var/log/').'/');19 define ('JELIX_APP_CONFIG_PATH', realpath(JELIX_APP_PATH.'var/config/').'/');20 define ('JELIX_APP_WWW_PATH', realpath(JELIX_APP_PATH.'www/').'/');16 define ('JELIX_APP_VAR_PATH', JELIX_APP_PATH.'var/'); 17 define ('JELIX_APP_LOG_PATH', JELIX_APP_PATH.'var/log/'); 18 define ('JELIX_APP_CONFIG_PATH', JELIX_APP_PATH.'var/config/'); 19 define ('JELIX_APP_WWW_PATH', JELIX_APP_PATH.'www/'); 21 20 22 ?>
