issue78, move version information to main class
authorAndreas Unterkircher <unki@netshadow.at>
Sat, 24 Nov 2007 05:51:53 +0000 (05:51 +0000)
committerAndreas Unterkircher <unki@netshadow.at>
Sat, 24 Nov 2007 05:51:53 +0000 (05:51 +0000)
git-svn-id: file:///var/lib/svn/phpfspot/trunk@304 fa6a889d-dae6-447d-9e79-4ba9a3039384

phpfspot.class.php
phpfspot_cfg.php.dist

index 9ec2254d9184887b3b20eb770b150bb82699cd2e..6c150fa6c70ca9c97862ffb9c6d0a49ef55b1b23 100644 (file)
@@ -44,6 +44,10 @@ class PHPFSPOT {
    {
       $this->cfg = new PHPFSPOT_CFG;
 
    {
       $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);
       /* Check necessary requirements */
       if(!$this->checkRequirements()) {
          exit(1);
index ca4cbf817e76818951cbe657746d049be184387d..cf026922128658903be5f63871bcb48a036daa55 100644 (file)
@@ -25,9 +25,6 @@ class PHPFSPOT_CFG {
 
    var $page_title = "phpfspot - dynamic PHP gallery for F-Spot";
 
 
    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";
    var $base_path = "/var/www/phpfspot";
 
    var $web_path = "/phpfspot";