Typesetter/include/install/update.php

25 lines
523 B
PHP
Raw Permalink Normal View History

2021-09-08 19:52:21 +02:00
<?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');