includes/common_cli.php
changeset 1202 5d63267470cd
parent 1143 e271ae801c62
child 1227 bdac73ed481e
equal deleted inserted replaced
1201:9593e62929d1 1202:5d63267470cd
   200     eval($cmd);
   200     eval($cmd);
   201   }
   201   }
   202   
   202   
   203   profiler_log('Ran session_started hook');
   203   profiler_log('Ran session_started hook');
   204   
   204   
   205   $paths->init();
   205   $paths->init($paths->nslist['System'] . 'API');
   206   
   206   
   207   // We're ready for whatever life throws us now.
   207   // We're ready for whatever life throws us now.
   208   define('ENANO_MAINSTREAM', '');
   208   define('ENANO_MAINSTREAM', '');
   209   
   209   
   210   // If the site is disabled, bail out, unless we're trying to log in or administer the site
   210   // If the site is disabled, bail out, unless we're trying to log in or administer the site