issue77, check if smarty_path variable is set
authorAndreas Unterkircher <unki@netshadow.at>
Sat, 3 Nov 2007 12:35:41 +0000 (12:35 +0000)
committerAndreas Unterkircher <unki@netshadow.at>
Sat, 3 Nov 2007 12:35:41 +0000 (12:35 +0000)
git-svn-id: file:///var/lib/svn/phpfspot/trunk@289 fa6a889d-dae6-447d-9e79-4ba9a3039384

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->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");
 
       if(!isset($this->fspot_db) || $this->fspot_db == "")
          $this->showError("Please set \$fspot_db in phpfspot_cfg");