Files
2017-03-02 20:30:40 -06:00

27 lines
789 B
PHP

<?php
$CONFIG = array(
'title_prefix' => 'Alaska File Upload',
'email' => 'John Nielsen <travel@friendshiptours.org>',
);
$FILES = array(
);
# we set the PHP error handler to use this function
set_error_handler("page_errors");
# only care about errors normally
error_reporting(E_ERROR | E_USER_ERROR);
#error_reporting(E_ALL);
# set the include path so that our templates can always include
# relative to the root template folder
$URLROOT = '/bobsleighphotos/alaska';
$DOCROOT = str_replace($_SERVER['SCRIPT_NAME'],'',$_SERVER['SCRIPT_FILENAME']);
$DOCROOT .= $URLROOT;
# add paths to the include path
$templates_path = $DOCROOT.'/site';
$php_path = $DOCROOT.'/php';
set_include_path(get_include_path() . PATH_SEPARATOR . $templates_path . PATH_SEPARATOR . $php_path);
?>