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 #144: jcmdlinerequest.diff

File jcmdlinerequest.diff, 1019 bytes (added by bballizlife, 14 years ago)

Path jCmdlineRequest

  • lib/jelix/core/request/jCmdLineRequest.class.php

     
    44* @subpackage  core_request
    55* @author      Laurent Jouanneau
    66* @contributor Loic Mathaud
    7 * @copyright   2005-2006 Laurent Jouanneau, 2006 Loic Mathaud
     7* @copyright   2005-2006 Laurent Jouanneau
     8* @copyright   2006-2007 Loic Mathaud
    89* @link        http://www.jelix.org
    910* @licence     GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html
    1011*/
     
    2021
    2122    public $defaultResponseType = 'text';
    2223
     24    protected function _initUrlDatas(){
     25        global $gJConfig;
     26
     27        $this->url_script_path = '/';
     28        $this->url_script_name = $_SERVER['SCRIPT_NAME'];
     29        $this->url_path_info = '';
     30    }
     31   
    2332    protected function _initParams(){
    2433        global $gJConfig;
    2534