private function putBasedPage($file, $html) { if (strpos($html, '{{BLOC-JS}}') !== false) { $html = str_replace('{{BLOC-JS}}', '', $html); } file_put_contents($this->tmpName . '/datas/' . $file . '.html', $html); }