$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();
private function get_tags()
{
+
$this->avail_tags = Array();
$count = 0;
/* 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;
public function __construct()
{
-
session_start();
} // __construct()
function process_ajax_request()
{
-
require_once 'HTML/AJAX/Server.php';
$server = new HTML_AJAX_Server();