source: extensions/autoupdate/trunk/ajax/check_updates.php @ 9707

Last change on this file since 9707 was 9707, checked in by patdenice, 13 years ago

New version 2.2

File size: 558 bytes
Line 
1<?php
2
3define('PHPWG_ROOT_PATH','../../../');
4define('IN_ADMIN', true);
5include_once( PHPWG_ROOT_PATH.'include/common.inc.php' );
6include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
7include_once(PHPWG_ROOT_PATH.'admin/include/functions_plugins.inc.php');
8
9check_status(ACCESS_ADMINISTRATOR);
10
11// Check if gallery or plugins are up to date
12load_language('plugin.lang', dirname(dirname(__FILE__)).'/');
13header('Content-Type: text/html; charset=UTF-8');
14
15include(AUTOUPDATE_PATH.'include/functions_remote.inc.php');
16echo autoupdate_check_version();
17
18?>
Note: See TracBrowser for help on using the repository browser.