// // This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License. // // To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/1.0/ // // or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA. // // Francais (brouillon): http://creativecommons.org/projects/international/fr/translated-license // ////////////////////////////////////////////////////////////////////////////////////////////////////// // Génère un fichier tous.php contenant tous les fichiers du répertoire classes // v0.1.0 include_once("head.php"); $path = "../classes/"; foreach($enc->files["general"] as $file) { $content[] = implode("",file($path.$file)); } foreach($enc->files["ecrire"] as $file) { $content[] = implode("",file($path.$file)); } $out = implode('',$content); $out = str_replace('','',$out); $out = ''; $fp = fopen($path."tous.php","w"); fputs($fp,$out); fclose($fp); echo "Fichier enregistré. retour"; ?>