summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2007-11-24 05:51:53 +0000
committerAndreas Unterkircher <unki@netshadow.at>2007-11-24 05:51:53 +0000
commit3e95994d0452a1f24f03c75774b94fbec71aebdd (patch)
tree6a4244473e9fc3a5b7993c5e0c494485d6c7bed9
parent6fb8decab053b1bfac8e0c12bb7b933acde61ab9 (diff)
issue78, move version information to main class
git-svn-id: file:///var/lib/svn/phpfspot/trunk@304 fa6a889d-dae6-447d-9e79-4ba9a3039384
-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";