summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2007-11-03 12:35:41 +0000
committerAndreas Unterkircher <unki@netshadow.at>2007-11-03 12:35:41 +0000
commitca52373e524f27acfa945992b54e9b50a31bcd4c (patch)
tree6557b2891072452f76015f1cccf393e47788f134
parentd1882698df97b2eabcf1135eef71e5a4547d4a8e (diff)
issue77, check if smarty_path variable is set
git-svn-id: file:///var/lib/svn/phpfspot/trunk@289 fa6a889d-dae6-447d-9e79-4ba9a3039384
-rw-r--r--phpfspot_cfg.php.dist3
1 files changed, 3 insertions, 0 deletions
diff --git a/phpfspot_cfg.php.dist b/phpfspot_cfg.php.dist
index 93d1d00..5eb8538 100644
--- a/phpfspot_cfg.php.dist
+++ b/phpfspot_cfg.php.dist
@@ -103,6 +103,9 @@ class PHPFSPOT_CFG {
if(!isset($this->web_path) || $this->web_path == "")
$this->showError("Please set \$web_path in phpfspot_cfg");
+ if(!isset($this->smarty_path) || $this->smarty_path == "")
+ $this->showError("Please set \$smarty_path in phpfspot_cfg");
+
if(!isset($this->fspot_db) || $this->fspot_db == "")
$this->showError("Please set \$fspot_db in phpfspot_cfg");