From: Tim Starling Date: Wed, 4 Jan 2006 23:26:31 +0000 (+0000) Subject: current directory is not reliable X-Git-Tag: 1.6.0~766 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/journal.php?a=commitdiff_plain;h=8377b29d34df1561909250f89b05ed4beeaca2d2;p=lhc%2Fweb%2Fwiklou.git current directory is not reliable --- diff --git a/maintenance/updaters.inc b/maintenance/updaters.inc index 7d64aee8b2..a91dc316cd 100644 --- a/maintenance/updaters.inc +++ b/maintenance/updaters.inc @@ -793,12 +793,12 @@ function do_all_updates() { } function archive($name) { - global $wgDBtype; + global $wgDBtype, $IP; switch ($wgDBtype) { case "oracle": - return "maintenance/oracle/archives/$name"; + return "$IP/maintenance/oracle/archives/$name"; default: - return "maintenance/archives/$name"; + return "$IP/maintenance/archives/$name"; } } ?>