aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2004-02-11 22:30:19 +0000
committerz0rglub <z0rglub@piwigo.org>2004-02-11 22:30:19 +0000
commite18759d0ddc201d2a4e80c4f3ad7b54ec87d1e5c (patch)
tree84890257065897bb41efc0f1d72ea68abc2c9d6a
parent7cf48aac8db6af1d7cbf16ce84f467c073f32aee (diff)
using listing.xml in admin directory
git-svn-id: http://piwigo.org/svn/trunk@358 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/update.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/update.php b/admin/update.php
index 4e13e466d..66faa9ec6 100644
--- a/admin/update.php
+++ b/admin/update.php
@@ -379,7 +379,7 @@ function remote_images()
global $conf, $lang, $vtp, $sub;
// 1. is there a file listing.xml ?
- if ( !( $xml_content = getXmlCode( 'listing.xml' ) ) )
+ if ( !( $xml_content = getXmlCode( './admin/listing.xml' ) ) )
{
return false;
}
@@ -707,7 +707,7 @@ else
$vtp->closeSession( $sub, 'local_update' );
}
//------------------------------------------------- remote update : listing.xml
-if ( @is_file( './listing.xml' ) )
+if ( @is_file( './admin/listing.xml' ) )
{
$count_new = 0;
$count_deleted = 0;