Changeset 22978 for branches/2.5


Ignore:
Timestamp:
May 31, 2013, 2:22:28 PM (11 years ago)
Author:
plg
Message:

bug 2915 fixed: really disable synchronization on synchronization and site (directories) manager screens.

Location:
branches/2.5/admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/admin/site_manager.php

    r19703 r22978  
    3232// | Check Access and exit when user status is not ok                      |
    3333// +-----------------------------------------------------------------------+
     34
     35if (!$conf['enable_synchronization'])
     36{
     37  die('synchronization is disabled');
     38}
     39
    3440check_status(ACCESS_ADMINISTRATOR);
    3541
  • branches/2.5/admin/site_update.php

    r19703 r22978  
    3232// | Check Access and exit when user status is not ok                      |
    3333// +-----------------------------------------------------------------------+
     34
     35if (!$conf['enable_synchronization'])
     36{
     37  die('synchronization is disabled');
     38}
     39
    3440check_status(ACCESS_ADMINISTRATOR);
    3541
Note: See TracChangeset for help on using the changeset viewer.