Beispiel #1
0
 public function __construct($id)
 {
     $this->dir = LuminousUi::root() . '/cache/';
     $this->subdir = substr($id, 0, 2);
     $this->filename = substr($id, 2);
     $this->path = rtrim($this->dir, '/') . '/' . $this->subdir . '/' . $this->filename;
     parent::__construct($id);
 }
 protected function getLayout()
 {
     // this path info shouldn't really be here
     $path = LuminousUi::root() . '/style/luminous.css';
     $this->css = file_get_contents($path);
 }