Beispiel #1
0
 /**
  * Create cache file with all options.
  */
 public function ClearOptionsCache()
 {
     $buf = serialize(Opcje::GetOpcje());
     $cwd = getcwd();
     chdir(WEB_API_DIR);
     $h = fopen("opcje_cache.bin", "w");
     fwrite($h, $buf);
     fclose($h);
     chdir($cwd);
 }