<?php
//#################################################################################################
// Redirection to "real" index page
//#################################################################################################
// chillyCMS - Content Management System
// Copyright (C) 2008
// Stefanie Wiegand <hide@address.com> & Johannes Cox <hide@address.com>
//
// This program is licensed under the GPL 3.0 license. For more information see LICENSE.txt.
//#################################################################################################
//load config file (empty before installation routine)
require_once("../config.php");
//find out if the config file has been filled:
//if true send to real site
if(defined("DB_HOST")) {
header("Location: ".URL."/index.php");
//if not send to inatallation routine
} else {
header("Location: ".URL."/installation/index.php");
exit(0);
}
?>