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.

Ticket #132: ticket_132_bballizlife-2.diff

File ticket_132_bballizlife-2.diff, 1.4 KB (added by bballizlife, 14 years ago)

Patch pour createapp.cmd.php pour créer les répertoires de plugins jTpl à la création de l'application

  • lib/jelix-scripts/commands/createapp.cmd.php

     
    5555       $this->createDir(JELIX_APP_VAR_PATH.'themes/default/');
    5656       $this->createDir(JELIX_APP_PATH.'modules');
    5757       $this->createDir(JELIX_APP_PATH.'plugins');
     58       $this->createDir(JELIX_APP_PATH.'plugins/jtpl');
     59       $this->createDir(JELIX_APP_PATH.'plugins/jtpl/common');
     60       $this->createDir(JELIX_APP_PATH.'plugins/jtpl/html');
     61       $this->createDir(JELIX_APP_PATH.'plugins/jtpl/text');
     62       $this->createDir(JELIX_APP_PATH.'plugins/jtpl/xul');
    5863       $this->createDir(JELIX_APP_PATH.'responses');
    5964
    6065       $param = array('appname'=>$GLOBALS['APPNAME']);
     
    7277       $param['rp_conf']=jxs_getRelativePath(JELIX_APP_PATH, JELIX_APP_CONFIG_PATH,true);
    7378       $param['rp_www'] =jxs_getRelativePath(JELIX_APP_PATH, JELIX_APP_WWW_PATH,true);
    7479       $param['rp_cmd'] =jxs_getRelativePath(JELIX_APP_PATH, JELIX_APP_CMD_PATH,true);
    75 
     80       $param['rp_plg'] =jxs_getRelativePath(JELIX_APP_PATH, JELIX_APP_PLG_PATH,true);
     81       
    7682       $this->createFile(JELIX_APP_PATH.'application.init.php','application.init.php.tpl',$param);
    7783
    7884       $param = array('appname'=>$GLOBALS['APPNAME']);
     
    99105    }
    100106}
    101107
    102 ?>
    103  Pas de fin de ligne à la fin du fichier
     108?>