Subversion Repositories Applications.papyrus

Compare Revisions

Ignore whitespace Rev 1067 → Rev 1068

/trunk/papyrus/applications/installateur/instal_fichier.inc.php
32,7 → 32,7
// | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
// | THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: instal_fichier.inc.php,v 1.18 2006-11-30 15:34:51 alexandre_tb Exp $
// CVS : $Id: instal_fichier.inc.php,v 1.19 2006-11-30 15:50:25 ddelon Exp $
/**
* Page de création des fichiers nécessaire à l'installation de Papyrus.
*
46,7 → 46,7
*@author Patrick PAUL
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.18 $ $Date: 2006-11-30 15:34:51 $
*@version $Revision: 1.19 $ $Date: 2006-11-30 15:50:25 $
// +------------------------------------------------------------------------------------------------------+
**/
 
230,21 → 230,20
$fp = @fopen($url_ftp, 'w');
while (!feof($fp)) {
if ($fp) {
while (!feof($fp)) {
$cont .= fread($fp, 500);
}
foreach ($elements as $element) {
list($expr,$rempl)=$elements;
preg_replace('/'.$expr.'/',$rempl,$cont);
}
fwrite($fp, $cont);
fclose($fp);
}
foreach ($elements as $element) {
list($expr,$rempl)=$elements;
preg_replace('/'.$expr.'/',$rempl,$cont);
}
fwrite($fp, $cont);
fclose($fp);
 
}
 
// Maj Fckeditor
339,6 → 338,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.18 2006/11/30 15:34:51 alexandre_tb
* ecriture htaccess
*
* Revision 1.17 2006/11/30 15:27:31 alexandre_tb
* ecriture htaccess
*