27 lines
760 B
PHP
27 lines
760 B
PHP
|
<?php
|
||
|
############################################################
|
||
|
# PODCAST GENERATOR
|
||
|
#
|
||
|
# Created by Alberto Betella
|
||
|
# http://www.podcastgenerator.net
|
||
|
#
|
||
|
# This is Free Software released under the GNU/GPL License.
|
||
|
############################################################
|
||
|
|
||
|
//// Security code, avoids cross-site scripting (Register Globals ON)
|
||
|
if (isset($_REQUEST['GLOBALS']) OR isset($_REQUEST['absoluteurl']) OR isset($_REQUEST['theme_path'])) { exit; }
|
||
|
|
||
|
//if config.php doesn't exist, stop
|
||
|
if (!file_exists("config.php")) {
|
||
|
header("HTTP/1.1 301 Moved Permanently");
|
||
|
header("Location: setup/"); // redirect to setup
|
||
|
}
|
||
|
|
||
|
include("config.php");
|
||
|
|
||
|
include_once($absoluteurl."core/functions.php"); //LOAD ONCE
|
||
|
|
||
|
include($absoluteurl."core/language.php");
|
||
|
|
||
|
|
||
|
?>
|