Exemplo n.º 1
0
 /**
  * Class construct
  * @return void
  */
 function __construct()
 {
     // file_exists($file) and $this->_file = $file;
     $this->images = images::instance();
     $this->bookimage = BookImage::instance();
     $sitePath = \Yaf\Application::app()->getConfig()->toArray();
     $this->siteUrl = $sitePath['server']['imagesBook'];
     $this->path = $sitePath['path'];
 }