summaryrefslogtreecommitdiffstats
path: root/phpfspot.class.php
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2007-06-30 07:33:50 +0000
committerAndreas Unterkircher <unki@netshadow.at>2007-06-30 07:33:50 +0000
commit6c6ffd19fb0b2f9a150fd0064597b3d3da9fe1e5 (patch)
treefc88b9162eb6537bea8e976626c150fd2832ec17 /phpfspot.class.php
parentf805e292a7f3048bd0c7305b0bc4d92ad90d3407 (diff)
use ignore_once instead of ignore for requirement checks, or rpc.php will fail because HTML_AJAX get redeclared
git-svn-id: file:///var/lib/svn/phpfspot/trunk@136 fa6a889d-dae6-447d-9e79-4ba9a3039384
Diffstat (limited to 'phpfspot.class.php')
-rw-r--r--phpfspot.class.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpfspot.class.php b/phpfspot.class.php
index 391589a..e052f3c 100644
--- a/phpfspot.class.php
+++ b/phpfspot.class.php
@@ -23,8 +23,7 @@ class PHPFSPOT {
$this->cfg = new PHPFSPOT_CFG;
- $this->db = new PHPFSPOT_DB(&$this, $this->cfg->fspot_db);
-
+ $this->db = new PHPFSPOT_DB(&$this, $this->cfg->fspot_db);
$this->cfg_db = new PHPFSPOT_DB(&$this, $this->cfg->phpfspot_db);
$this->check_config_table();
@@ -69,6 +68,7 @@ class PHPFSPOT {
private function get_tags()
{
+
$this->avail_tags = Array();
$count = 0;
@@ -846,7 +846,7 @@ class PHPFSPOT {
/* Check for HTML_AJAX PEAR package, lent from Horde project */
ini_set('track_errors', 1);
- @include 'HTML/AJAX/Server.php';
+ @include_once 'HTML/AJAX/Server.php';
if(isset($php_errormsg)) {
print "PEAR HTML_AJAX package is missing<br />\n";
$missing = true;