Changeset 13488 for trunk/admin/site_update.php
- Timestamp:
- Mar 6, 2012, 9:27:41 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/site_update.php
r13082 r13488 59 59 l10n('The name of directories and files must be composed of letters, numbers, "-", "_" or "."') 60 60 ), 61 'PWG-UPDATE-2' => array(62 l10n('missing thumbnail'),63 l10n('a picture filetype requires a thumbnail. The thumbnail must be present in the sub-directory "thumbnail" of the album directory. The thumbnail filename must start with the configured thumbnail prefix and the extension must be among the following list :').implode(',', $conf['picture_ext'])64 ),65 61 'PWG-ERROR-NO-FS' => array( 66 62 l10n('File/directory read error'), 67 63 l10n('The file or directory cannot be accessed (either it does not exist or the access is denied)') 68 64 ), 69 'PWG-ERROR-VERSION' => array(70 l10n('Piwigo version differs on the remote site'),71 l10n('Version of create_listing_file.php on the remote site and Piwigo must be the same')72 ),73 'PWG-ERROR-NOLISTING' => array(74 l10n('listing.xml file was not found'),75 l10n('listing.xml file was not found on the remote site. This file is generated by choosing the "generate listing" command in the Site manager')76 )77 65 ); 78 66 $errors = array(); … … 82 70 { 83 71 fatal_error('remote sites not supported'); 84 include_once(PHPWG_ROOT_PATH.'admin/site_reader_remote.php');85 $local_listing = null;86 if ( isset($_GET['local_listing'])87 and $_GET['local_listing'] )88 {89 $local_listing = PHPWG_ROOT_PATH.'listing.xml';90 }91 $site_reader = new RemoteSiteReader($site_url, $local_listing);92 72 } 93 73 else
Note: See TracChangeset
for help on using the changeset viewer.