예제 #1
0
파일: ModFile.php 프로젝트: Jako/pdoTools
 function __construct(pdoTools $pdoTools)
 {
     $dir = !file_exists($pdoTools->config['elementsPath']) ? MODX_CORE_PATH . 'cache/' : $pdoTools->config['elementsPath'];
     parent::__construct($dir);
     $this->pdoTools = $pdoTools;
     $this->modx = $pdoTools->modx;
 }