Changeset 6167 for extensions/autoupdate/remote.php
- Timestamp:
- May 13, 2010, 12:06:29 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/autoupdate/remote.php
r4835 r6167 5 5 include_once( PHPWG_ROOT_PATH.'include/common.inc.php' ); 6 6 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 7 include_once(PHPWG_ROOT_PATH.'admin/include/functions_plugins.inc.php'); 7 8 8 9 check_status(ACCESS_ADMINISTRATOR); … … 12 13 and count($_POST['autoupdate_ignore']) == 2) 13 14 { 15 // Add or remove plugin from ignore list 14 16 $ignore = unserialize($conf['autoupdate_ignore_list']); 15 17 $ignore = array_flip($ignore); … … 43 45 else 44 46 { 47 // Check if gallery or plugins are up to date 45 48 load_language('plugin.lang', dirname(__FILE__).'/'); 46 49 header('Content-Type: text/html; charset=UTF-8'); 47 50 48 include(dirname(__FILE__).'/class.inc.php'); 49 $autoupdate = new autoupdate(); 50 51 echo $autoupdate->check_version(); 51 include(AUTOUPDATE_PATH.'include/functions_remote.inc.php'); 52 echo autoupdate_check_version(); 52 53 } 53 54
Note: See TracChangeset
for help on using the changeset viewer.