summaryrefslogtreecommitdiff
path: root/code/index.php
blob: b07f7783a68086c24aa5e6c07bc368bd32382a93 (plain)
1
2
3
4
5
6
7
8
9
<?php
	chdir('admin/');
	require_once('utils.php');

	// Config loading
	$site_conf = load_ini_site_conf("content/site_conf.ini"); 
	if ( ! is_array($site_conf) ) trigger_error("Error parsing site_conf.ini", E_USER_ERROR);

	header('Location: ' . $site_conf['site_default_page'].'.html');