X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=blobdiff_plain;f=phpfspot.class.php;h=6c150fa6c70ca9c97862ffb9c6d0a49ef55b1b23;hp=cc1c8736aafda15ea11ca47c34985a3e52d8181c;hb=3e95994d0452a1f24f03c75774b94fbec71aebdd;hpb=6a54409eb044948947f409466a734764670c0027
diff --git a/phpfspot.class.php b/phpfspot.class.php
index cc1c873..6c150fa 100644
--- a/phpfspot.class.php
+++ b/phpfspot.class.php
@@ -42,13 +42,17 @@ class PHPFSPOT {
*/
public function __construct()
{
+ $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);
}
- $this->cfg = new PHPFSPOT_CFG;
-
$this->db = new PHPFSPOT_DB($this, $this->cfg->fspot_db);
if(!is_writeable(dirname($this->cfg->phpfspot_db))) {
@@ -1674,7 +1678,7 @@ class PHPFSPOT {
-
+