From e18759d0ddc201d2a4e80c4f3ad7b54ec87d1e5c Mon Sep 17 00:00:00 2001 From: z0rglub Date: Wed, 11 Feb 2004 22:30:19 +0000 Subject: using listing.xml in admin directory git-svn-id: http://piwigo.org/svn/trunk@358 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/update.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'admin/update.php') 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; -- cgit v1.2.3