<?php
/***************************************************************************
- * Copyright (C) 2003-2009 Polytechnique.org *
+ * Copyright (C) 2003-2010 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
/** db params */
public $dbdb = 'x4dat';
+ public $dbprefix = '';
public $dbhost = 'localhost';
public $dbuser = 'x4dat';
public $dbpwd = 'x4dat';
{
static $aid = null;
- if (is_null($aid)) {
+ if (isset($GLOBALS['IS_XNET_SITE']) && is_null($aid)) {
$gp = Get::v('n');
if ($p = strpos($gp, '/')) {
$gp = substr($gp, 0, $p);