diff options
author | Jim Hu <jimhu@users.sourceforge.net> | 2007-05-23 11:51:07 +0000 |
---|---|---|
committer | Jim Hu <jimhu@users.sourceforge.net> | 2007-05-23 11:51:07 +0000 |
commit | eb4a4035a041b15627453529dfe2e7c0728f66ce (patch) | |
tree | 4826889ffe14ac20c16cded8eef9849cde357bc1 /functions | |
parent | b47bef16c6582c8d7480abefe8d3f05f84fb6253 (diff) | |
download | phpicalendar-eb4a4035a041b15627453529dfe2e7c0728f66ce.tar.gz phpicalendar-eb4a4035a041b15627453529dfe2e7c0728f66ce.tar.bz2 phpicalendar-eb4a4035a041b15627453529dfe2e7c0728f66ce.zip |
add missing template images
Diffstat (limited to 'functions')
-rw-r--r-- | functions/init.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
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); |