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.

Changes between Version 1 and Version 2 of rfc/autoload


Ignore:
Timestamp:
Oct 25, 2012, 2:29:53 PM (9 years ago)
Author:
laurentj
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • rfc/autoload

    v1 v2  
    11= Autoload in modules =
     2
     3
     4'''implemented in Jelix 1.4'''
     5
     6
     7
     8
     9$_GET
     10$_SESSION
     11
     12
     13
     14'PATH_INFO' => '/foo/index.php',
     15ORIG_PATH_INFO
     16'PATH_TRANSLATED' => '/opt/tests/foo/index.php',
     17'PHP_SELF' => '/foo/index.php',
     18'QUERY_STRING' => '',
     19'REDIRECT_URL' => '/foo/index.php',
     20'REQUEST_URI' => '/foo/index.php',
     21'SCRIPT_FILENAME' => '/usr/lib/cgi-bin/php5',
     22'SCRIPT_NAME' => '/cgi-bin/php5',
     23 $_SERVER['HTTPS'] = 'on';
     24        $_SERVER['SERVER_PORT'] = '80';
     25       
     26       
     27arguments à donner
     28    url : http://domain.com/....
     29        SERVER_NAME
     30        HTTP_HOST
     31        SCRIPT_NAME
     32        ...
     33    method request : GET, POST...
     34    body http  (pour POST etc)
     35    type : cgi/apache module/fcgi ...
     36    documentRoot : repertoire app/www par défaut
     37        DOCUMENT_ROOT
     38    HTTP_ACCEPT
     39
     40    requester : HTTP_X_FORWARDED_FOR, HTTP_CLIENT_IP, REMOTE_ADDR
     41    HTTP_X_REQUESTED_WITH=xmlhttprequest
     42
     43
    244
    345== Goal ==