示例#1
0
 /**
  * Carrega o arquivo Vendor
  */
 private static function vendor()
 {
     $file = Storange::getPathFile('vendor/autoload.php');
     if (file_exists($file)) {
         include_once $file;
     } else {
         throw new exceptions\LoadFiles('Error to load vendor autoload. Check the composer libs', 0);
     }
 }
示例#2
0
 /**
  * Recupera o arquivo de config
  * @return type
  */
 private function getFile()
 {
     $file = Storange::getPathFile('config.ini');
     return file_exists($file) ? $file : false;
 }