1
blackout
Re: TRUE Multisites hack.... at last!
  • 2005/1/31 20:38

  • blackout

  • Just popping in

  • Posts: 1

  • Since: 2005/1/31


Quote:

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




TopTop



Login

Who's Online

208 user(s) are online (124 user(s) are browsing Support Forums)


Members: 0


Guests: 208


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits