
- /include/variables.php - /html/upload.php - /html/journal.php - /html/editpage.php - /html/admin.php
20 lines
554 B
PHP
20 lines
554 B
PHP
<?php
|
|
$config = parse_ini_file('../config/global.ini', true);
|
|
|
|
$dbuser = $config['sql']['dbuser'];
|
|
$dbpass = $config['sql']['dbpass'];
|
|
$dbname = $config['sql']['dbname'];
|
|
$dbhost = $config['sql']['dbhost'];
|
|
|
|
$title = $config['main']['title'];
|
|
$header_title = $config['main']['header-title'];
|
|
$header_subtitle = $config['main']['header-subtitle'];
|
|
$copyright = $config['main']['copyright'];
|
|
$nav = $config['nav'];
|
|
$navadmin = $nav;
|
|
$status = "";
|
|
$classifications = $config['classifications'];
|
|
|
|
$role = isset($_SESSION['role']) ? $_SESSION['role'] : 0;
|
|
|
|
?>
|