public function __construct($cacheKey, array $configuration, array $htmlCacheOptions)
	{
		parent::__construct($cacheKey, $configuration, $htmlCacheOptions);
		self::getConnection($configuration, $htmlCacheOptions);
	}
Exemple #2
0
 public function __construct($cacheKey, array $configuration, array $htmlCacheOptions)
 {
     parent::__construct($cacheKey, $configuration, $htmlCacheOptions);
     $pagesPath = $_SERVER["DOCUMENT_ROOT"] . BX_PERSONAL_ROOT . "/html_pages";
     if (file_exists($pagesPath . $this->cacheKey)) {
         $this->cacheFile = $pagesPath . $this->cacheKey;
     }
 }