From eb4a4035a041b15627453529dfe2e7c0728f66ce Mon Sep 17 00:00:00 2001 From: Jim Hu Date: Wed, 23 May 2007 11:51:07 +0000 Subject: add missing template images --- functions/init.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functions/init.inc.php') diff --git a/functions/init.inc.php b/functions/init.inc.php index 5edd0fc..b6c99ee 100644 --- a/functions/init.inc.php +++ b/functions/init.inc.php @@ -14,7 +14,7 @@ $ALL_CALENDARS_COMBINED = 'all_calendars_combined971'; // Pull in the configuration and some functions. if (!defined('BASE')) define('BASE', './'); include_once(BASE.'default_config.php'); -include_once(BASE.'config.inc.php'); +if (is_file(BASE.'config.inc.php')) include_once(BASE.'config.inc.php'); include_once(BASE.'functions/sanitize.php'); $cookie_name = 'phpicalendar_'.basename($default_path); -- cgit v1.2.3