Ignore:
Timestamp:
Mar 6, 2012, 9:27:41 PM (12 years ago)
Author:
rvelices
Message:

remove remote sites feature

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/site_update.php

    r13082 r13488  
    5959    l10n('The name of directories and files must be composed of letters, numbers, "-", "_" or "."')
    6060    ),
    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     ),
    6561  'PWG-ERROR-NO-FS' => array(
    6662    l10n('File/directory read error'),
    6763    l10n('The file or directory cannot be accessed (either it does not exist or the access is denied)')
    6864    ),
    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     )
    7765  );
    7866$errors = array();
     
    8270{
    8371  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);
    9272}
    9373else
Note: See TracChangeset for help on using the changeset viewer.