protected function create()
 {
     parent::create();
     $this->showcolumns = array();
     //tfilestorage::loadvar(litepublisher::$paths->data . 'commentscolumns.php', $this->showcolumns);
     if (isset($_COOKIE['tablecolumns'])) {
         $this->showcolumns = unserialize($_COOKIE['tablecolumns']);
     }
     if (!in_array(true, $this->showcolumns)) {
         $this->showcolumns = array();
     }
 }
Exemplo n.º 2
0
 protected function create()
 {
     parent::create();
     $this->names = tfiler::getdir(litepublisher::$paths->plugins);
     sort($this->names);
 }