[PHPPlanner-cvs] phpplanner/lib libconfig.php,1.2,1.3
Status: Beta
Brought to you by:
tomsommer
From: Tom S. <tom...@us...> - 2004-04-24 22:43:03
|
Update of /cvsroot/phpplanner/phpplanner/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4236/lib Modified Files: libconfig.php Log Message: Make config-admin work Index: libconfig.php =================================================================== RCS file: /cvsroot/phpplanner/phpplanner/lib/libconfig.php,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- libconfig.php 7 Sep 2003 16:07:54 -0000 1.2 +++ libconfig.php 24 Apr 2004 22:42:54 -0000 1.3 @@ -36,7 +36,7 @@ } - save_config('test.php'); + save_config('config.php'); } function fix_cfg_quotes($s) @@ -59,7 +59,7 @@ @chmod($config['path_to_calendar'] . $file,0777); /* Do a quick backup, just in case */ - copy($config['path_to_calendar'] . $file,$config['path_to_calendar'] . $file .".bak"); + @copy($config['path_to_calendar'] . $file,$config['path_to_calendar'] . $file .".bak"); if ( ($fp = fopen($config['path_to_calendar'] . $file, "w") ) != FALSE) { |