Exemplo n.º 1
0
 public function inidir($dir)
 {
     $filename = $dir . 'html.ini';
     if (!isset(ttheme::$inifiles[$filename])) {
         $html_ini = ttheme::cacheini($filename);
         if (is_array($html_ini)) {
             $this->ini = $html_ini + $this->ini;
             $keys = array_keys($html_ini);
             $this->section = array_shift($keys);
             $this->searchsect[] = $this->section;
         }
     }
     tlocal::inicache($dir . litepublisher::$options->language . '.admin.ini');
     return $this;
 }