From: Andreas Unterkircher Date: Sat, 24 Nov 2007 05:51:53 +0000 (+0000) Subject: issue78, move version information to main class X-Git-Tag: phpfspot-1.2~35 X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=commitdiff_plain;h=3e95994d0452a1f24f03c75774b94fbec71aebdd;ds=sidebyside issue78, move version information to main class git-svn-id: file:///var/lib/svn/phpfspot/trunk@304 fa6a889d-dae6-447d-9e79-4ba9a3039384 --- 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";