private function make_index() { $static = new StaticPage(); $time = 60; $saveDir = ROOT_PATH; $activePage = "http://" . $_SERVER['HTTP_HOST'] . "/index.php"; $fileName = $static->getPageName(basename($activePage), 'html'); $flag = $static->reMakeCondition($saveDir . '/' . $fileName, $time); if (!$flag) { } $static->makeStaticPage($activePage, 'html', $saveDir); }
protected function create_html($activePage, $filename = '', $saveDir) { $static = new StaticPage(); $static->makeStaticPage($activePage, 'html', $saveDir, $filename); }