mirror of
https://github.com/gtbu/Typesetter-5.3-p8.git
synced 2024-11-11 01:44:02 +01:00
24 lines
523 B
PHP
24 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');
|