Example #1
0
 public static function complete()
 {
     //if (isset($_COOKIE["compile"]) && $_COOKIE["compile"] == 1) : $bypass = true; $_GET["compile"] = 1; else : GenFun::setCookie("compile", false); GenFun::setCookie("compile_root", false); endif;
     //---------------------------------------------------------
     if (isset($_GET["compile"]) && $_GET["compile"] == 1 || $_COOKIE["compile"] == 1) {
         //$root = urldecode($_COOKIE["compile_root"]);
         //-----------------------------------------------------
         FileFolder::dupIncluded("server/", $dir = Compile::$minifiedPath);
         FileFolder::dupIncluded("", $dir, NULL, true);
         FileFolder::dupIncluded("", $dir = Compile::$unminifiedPath);
         if (isset($_COOKIE['compile_curl']) && $_COOKIE['compile_curl'] == 1) {
             GenFun::setCookie("compile_curl", false);
         }
     }
 }
Example #2
0
 public function complete()
 {
     if ($this->getIncluded) {
         FileFolder::dupIncluded(Import::$uber_src_path . "server/", $this->compilePath . "/server/");
         FileFolder::dupIncluded(Import::getImportPath(), $this->compilePath . "/", NULL, true);
     }
     FileFolder::delete(Compiler::$tmpPath);
     //FileFolder::dupIncluded("", $this->compilePath."/", NULL,true);
 }