using listing.xml in admin directory

git-svn-id: http://piwigo.org/svn/trunk@358 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
z0rglub
2004-02-11 22:30:19 +00:00
parent 7cf48aac8d
commit e18759d0dd

View File

@@ -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;