summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpfspot.class.php4
-rw-r--r--phpfspot_cfg.php.dist3
2 files changed, 4 insertions, 3 deletions
diff --git a/phpfspot.class.php b/phpfspot.class.php
index 9ec2254..6c150fa 100644
--- a/phpfspot.class.php
+++ b/phpfspot.class.php
@@ -44,6 +44,10 @@ class PHPFSPOT {
{
$this->cfg = new PHPFSPOT_CFG;
+ /* set application name and version information */
+ $this->cfg->product = "phpfspot";
+ $this->cfg->version = "1.1";
+
/* Check necessary requirements */
if(!$this->checkRequirements()) {
exit(1);
diff --git a/phpfspot_cfg.php.dist b/phpfspot_cfg.php.dist
index ca4cbf8..cf02692 100644
--- a/phpfspot_cfg.php.dist
+++ b/phpfspot_cfg.php.dist
@@ -25,9 +25,6 @@ class PHPFSPOT_CFG {
var $page_title = "phpfspot - dynamic PHP gallery for F-Spot";
- var $product = "phpfspot";
- var $version = "1.1";
-
var $base_path = "/var/www/phpfspot";
var $web_path = "/phpfspot";