developer.jelix.org is not used any more and exists only for
history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.
Ticket #418: newpatch.diff
File newpatch.diff, 1.8 KB (added by doubleface, 13 years ago) |
---|
-
jelix-scripts/commands/createapp.cmd.php
5 5 * @author Jouanneau Laurent 6 6 * @contributor Loic Mathaud 7 7 * @contributor Gildas Givaja (bug #83) 8 * @copyright 2005-2007 Jouanneau laurent, 2006 Loic Mathaud, 2007 Gildas Givaja 8 * @contributor Christophe Thiriot 9 * @copyright 2005-2007 Jouanneau laurent, 2006 Loic Mathaud, 2007 Gildas Givaja, 2007 Christophe Thiriot 9 10 * @link http://www.jelix.org 10 11 * @licence GNU General Public Licence see LICENCE file or http://www.gnu.org/licenses/gpl.html 11 12 */ … … 113 114 } 114 115 115 116 if ($this->getOption('-withcmdline')) { 117 $agcommand = jxs_load_command('createctrl'); 118 $options = array('-cmdline'=>true); 119 $agcommand->init($options,array('module'=>$GLOBALS['APPNAME'], 'name'=>'default','method'=>'index')); 120 $agcommand->run(); 121 116 122 $this->createDir(JELIX_APP_CMD_PATH); 117 123 $this->createDir(JELIX_APP_CONFIG_PATH.'cmdline'); 118 124 $this->createFile(JELIX_APP_CONFIG_PATH.'cmdline/config.ini.php','var/config/cmdline/config.ini.php.tpl',$param); … … 129 135 } 130 136 } 131 137 132 ?> 133 Pas de fin de ligne à la fin du fichier 138 ?> -
jelix-scripts/includes/utils.lib.php
17 17 18 18 } 19 19 20 require ($commandfile);20 require_once($commandfile); 21 21 22 22 $cmdName.='Command'; 23 23 … … 144 144 } 145 145 146 146 147 ?> 148 Pas de fin de ligne à la fin du fichier 147 ?>