issue77, check if smarty_path variable is set
[phpfspot.git] / phpfspot_cfg.php.dist
index 93d1d00a6974003b43a1ead8997a6b9d6f1432a9..5eb8538976ec5fc73290624a0c1418852d5ae595 100644 (file)
@@ -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");