summaryrefslogtreecommitdiffstats
path: root/phpfspot.class.php
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2007-11-09 17:01:32 +0000
committerAndreas Unterkircher <unki@netshadow.at>2007-11-09 17:01:32 +0000
commitc6c2fa93297693a7c02a5e5419a26609ec7e97bd (patch)
tree196d1814fe7371be6a855a47fb5f39d417d2dad6 /phpfspot.class.php
parente4f4c5d4dbef28f791122ff239e1373666ced7d7 (diff)
import phpfspot config first before checking requirements
git-svn-id: file:///var/lib/svn/phpfspot/trunk@299 fa6a889d-dae6-447d-9e79-4ba9a3039384
Diffstat (limited to 'phpfspot.class.php')
-rw-r--r--phpfspot.class.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpfspot.class.php b/phpfspot.class.php
index 4b033f6..9ec2254 100644
--- a/phpfspot.class.php
+++ b/phpfspot.class.php
@@ -42,13 +42,13 @@ class PHPFSPOT {
*/
public function __construct()
{
+ $this->cfg = new PHPFSPOT_CFG;
+
/* 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))) {