示例#1
0
 /**
  * Constructor.
  */
 public function __construct()
 {
     require __DIR__ . '/Database.php';
     require __DIR__ . '/Functions.php';
     require __DIR__ . '/ViewFactory.php';
     parent::__construct();
 }
示例#2
0
文件: Yaml.php 项目: niktux/firenote
 public function __construct($configurationFilesDirectory = null)
 {
     parent::__construct();
     $this->cache = array();
     if ($configurationFilesDirectory === null) {
         $configurationFilesDirectory = __DIR__ . '/../../../config/';
     }
     $this->directory = rtrim($configurationFilesDirectory, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR;
 }