install/includes/cli-core.php
changeset 1183 15957df91ea4
parent 1144 fcb2be1428e7
child 1227 bdac73ed481e
equal deleted inserted replaced
1182:58af2268331b 1183:15957df91ea4
    26   echo '<h2>CLI only</h2>
    26   echo '<h2>CLI only</h2>
    27         <p>This script must be run from the command line.</p>';
    27         <p>This script must be run from the command line.</p>';
    28   $ui->show_footer();
    28   $ui->show_footer();
    29   exit;
    29   exit;
    30 }
    30 }
    31 
       
    32 require_once( ENANO_ROOT . '/install/includes/libenanoinstall.php' );
       
    33 
    31 
    34 if ( defined('ENANO_INSTALLED') )
    32 if ( defined('ENANO_INSTALLED') )
    35 {
    33 {
    36   // start up the API to let it error out if something's wrong
    34   // start up the API to let it error out if something's wrong
    37   require(ENANO_ROOT . '/includes/common.php');
    35   require(ENANO_ROOT . '/includes/common.php');