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: patch.diff
File patch.diff, 1.7 KB (added by doubleface, 13 years ago) |
---|
-
lib/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 */ … … 110 111 $cmd->run(); 111 112 } 112 113 114 if($this->getOption('-withcmdline')){ 115 $agcommand = jxs_load_command('createctrl'); 116 $options = array('-cmdline'=>true); 117 $agcommand->init($options,array('module'=>$GLOBALS['APPNAME'], 'name'=>'default','method'=>'index')); 118 $agcommand->run(); 119 } 120 113 121 if ($this->getOption('-withcmdline')) { 114 122 $this->createDir(JELIX_APP_CMD_PATH); 115 123 $this->createDir(JELIX_APP_CONFIG_PATH.'cmdline'); … … 127 135 } 128 136 } 129 137 130 ?> 131 Pas de fin de ligne à la fin du fichier 138 ?> -
lib/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 … … 147 147 } 148 148 149 149 150 ?> 151 Pas de fin de ligne à la fin du fichier 150 ?>