Exemple #1
0
 public static function delHtmlFile($category, $oldTitle, $newTitle)
 {
     $config = Config::instance();
     //$newHtmlFile = $config->htmlPath.$category."/".$newTitle.".html";
     $oldHtmlFile = $config->htmlPath . $category . "/" . $oldTitle . ".html";
     //unlink($newHtmlFile);
     unlink($oldHtmlFile);
 }
Exemple #2
0
 public function __construct($key)
 {
     $this->config = Config::instance();
     $this->_key = $key;
     $this->setData($this->config->data);
 }