web/enmi/common.php
changeset 64 162c1de6545a
parent 19 1c2f13fd785c
equal deleted inserted replaced
63:5b37998e522e 64:162c1de6545a
     4  * If you haven't edited php.ini to add the Zend Framework and the
     4  * If you haven't edited php.ini to add the Zend Framework and the
     5  * Zend Framework Incubator to the PHP include_path, then do so here.
     5  * Zend Framework Incubator to the PHP include_path, then do so here.
     6  * Don't use mine!
     6  * Don't use mine!
     7  */
     7  */
     8 set_include_path(
     8 set_include_path(
     9     '/path/to/zf/trunk/library'
     9     '../lib'
    10     . PATH_SEPARATOR . '/path/to/zf/incubator/library'
       
    11     . PATH_SEPARATOR . get_include_path()
    10     . PATH_SEPARATOR . get_include_path()
    12 );
    11 );
    13 
    12 
    14 /**
    13 /**
    15  * Make sure Zend_Oauth's Consumer is loaded
    14  * Make sure Zend_Oauth's Consumer is loaded
    16  */
    15  */
    17 require_once 'Zend/Oauth/Consumer.php';
    16 require_once '../lib/Zend/Oauth/Consumer.php';
    18 
    17 
    19 /**
    18 /**
    20  * Start up the ol' session engine
    19  * Start up the ol' session engine
    21  */
    20  */
    22 session_start();
    21 session_start();