1
Quote:
hi, do *all* the tables pass through this function? i mean also third part modules functions etc..
it could be great if i can unshare forum, downloads, galleries too
reynaldo wrote:function prefix($tablename='')
{
$myCommonTables = array('avatar', 'avatar_user_link', 'online', 'priv_msgs', 'stories', 'topics', 'users');
$myPrefix = '';
if (in_array($tablename,$myCommonTables))
{
$myPrefix = 'xoops';
}
else $myPrefix = $this->prefix;
if ( $tablename != '' )
{
return $myPrefix .'_'. $tablename;
}
else
{
return $myPrefix;
}
}
hi, do *all* the tables pass through this function? i mean also third part modules functions etc..
it could be great if i can unshare forum, downloads, galleries too