equal
deleted
inserted
replaced
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'); |