Fri 18 Jul 2003 11:03:52 AM UTC, comment #1:
it would be nice, even if you would change the following too
class.db_tools.inc.php
line 632
from
if (is_writable(PHPGW_SERVER_ROOT."/$app/setup"))
{
rename($file,PHPGW_SERVER_ROOT."/$app/setup/setup.old.inc.php");
}
to
$old_file = PHPGW_SERVER_ROOT."/$app/setup/setup.old.inc.php";
if (is_writable(PHPGW_SERVER_ROOT."/$app/setup"))
{
if (file_exists($old_file))
{
unlink($old_file);
}
rename($file,$old_file);
}
class.db_tools.inc.php
line 566
from
if (is_writable(PHPGW_SERVER_ROOT."/$app/setup"))
{
rename($file,PHPGW_SERVER_ROOT."/$app/setup/tables_current.old.inc.php");
}
to
$old_file = PHPGW_SERVER_ROOT."/$app/setup/tables_current.old.inc.php";
if (is_writable(PHPGW_SERVER_ROOT."/$app/setup"))
{
if (file_exists($old_file))
{
unlink($old_file);
}
rename($file,$old_file);
}
class.db_tools.inc.php
line 741
from
rename($file_update,PHPGW_SERVER_ROOT."/$app/setup/tables_update.old.inc.php");
to
$old_file = PHPGW_SERVER_ROOT."/$app/setup/tables_update.old.inc.php";
if (file_exists($old_file))
{
unlink($old_file);
}
rename($file_update,$old_file);
class.soetemplate.inc.php
line 780
from
if (file_exists($file))
{
rename($file,"$dir/phpgw_$lang.old.lang");
}
to
$old_file = "$dir/phpgw_$lang.old.lang";
if (file_exists($file))
{
if (file_exists($old_file))
{
unlink($old_file);
}
rename($file,$old_file);
}
class.soetemplate.inc.php
line 612
from
$file = "$dir/etemplates.inc.php";
if (file_exists($file))
{
rename($file,"$dir/etemplates.old.inc.php";);
}
to
$file = "$dir/etemplates.inc.php";
$old_file = "$dir/etemplates.old.inc.php";
if (file_exists($file))
{
if (file_exists($old_file))
{
unlink($old_file);
}
rename($file,$old_file);
}
|