includes/common_cli.php
changeset 812 68060328e9c6
parent 801 eb8b23f11744
child 945 c19242d13a49
equal deleted inserted replaced
811:5c807fe77020 812:68060328e9c6
    23 //
    23 //
    24 // MAIN API INITIALIZATION
    24 // MAIN API INITIALIZATION
    25 //
    25 //
    26 
    26 
    27 // Note to important functions and the template class that we're running via CLI
    27 // Note to important functions and the template class that we're running via CLI
    28 define('ENANO_CLI', 1);
    28 @define('ENANO_CLI', 1);
    29 
    29 
    30 // The first thing we need to do is start the database connection. At this point, for all we know, Enano might not
    30 // The first thing we need to do is start the database connection. At this point, for all we know, Enano might not
    31 // even be installed. If this connection attempt fails and it's because of a missing or corrupt config file, the
    31 // even be installed. If this connection attempt fails and it's because of a missing or corrupt config file, the
    32 // user will be redirected (intelligently) to install.php.
    32 // user will be redirected (intelligently) to install.php.
    33 
    33