install/includes/common.php
changeset 812 68060328e9c6
parent 803 ab64a963e492
child 1081 745200a9cc2a
equal deleted inserted replaced
811:5c807fe77020 812:68060328e9c6
   153 }
   153 }
   154 
   154 
   155 // List of available DB drivers
   155 // List of available DB drivers
   156 $supported_drivers = array('mysql', 'postgresql');
   156 $supported_drivers = array('mysql', 'postgresql');
   157 
   157 
       
   158 // Divert to CLI loader if running from CLI
       
   159 if ( isset($argc) && isset($argv) )
       
   160 {
       
   161   if ( is_int($argc) && is_array($argv) && !isset($_SERVER['REQUEST_URI']) )
       
   162   {
       
   163     define('ENANO_CLI', '');
       
   164   }
       
   165 }
       
   166 
   158 ?>
   167 ?>