mirror of
https://github.com/gtbu/Typesetter-5.3-p8.git
synced 2024-11-25 07:39:13 +01:00
25 lines
523 B
PHP
25 lines
523 B
PHP
|
<?php
|
||
|
|
||
|
define('is_running',true);
|
||
|
|
||
|
//define('gpdebug',true);
|
||
|
require_once('../common.php');
|
||
|
\gp\tool::EntryPoint(2,'update.php');
|
||
|
|
||
|
|
||
|
/* check permissions */
|
||
|
if( !\gp\tool::LoggedIn() ){
|
||
|
die('You must be logged in to access this area.');
|
||
|
}
|
||
|
|
||
|
if( !isset($gpAdmin['granted']) || ($gpAdmin['granted'] !== 'all') ){
|
||
|
die('Sorry, you do not have sufficient privileges to access this area.');
|
||
|
}
|
||
|
|
||
|
\gp\tool::GetLangFile();
|
||
|
|
||
|
$page = new \gp\admin\Update();
|
||
|
|
||
|
\gp\tool\Output::HeadContent();
|
||
|
includeFile('install/update_template.php');
|