/** * Have we got a database? * * @return void * @access protected */ protected static function _hasDb() { if (MiCache::$_hasDb === null) { MiCache::$_hasDb = file_exists(CONFIGS . 'database.php'); } if (MiCache::$_hasDb) { return true; } return false; }