cpg132 and cpg132 share Table_users? cpg132 and cpg132 share Table_users?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

cpg132 and cpg132 share Table_users?

Started by MDxRacing, October 06, 2004, 02:55:33 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MDxRacing

First of all your coppermind 1.32 is awsome :)
I have up an running one cpg132 site , and to many categories.
would like to load a nother cpg132 as cpd132b with different database , but share the first cpg132 database Table_users  only.
Is that Possible?

Both cpg132 and cpg132b would be the same database just the prefix_ would be different.

Thanks
MD

Nibbler

You can try.

include/init.inc.php

$CONFIG['TABLE_USERS']                = $CONFIG['TABLE_PREFIX']."users";

Change that line to whatever you want the users table to be pointing at.

MDxRacing

#2
Thanks
I tried a few different code lines , nothing worked
could you give me a hint on what to change.

This Is what i tried below

$CONFIG['TABLE_USERS']                = $CONFIG['TABLE_PREFIX']."cpg132_users";

$CONFIG['TABLE_USERS']                = $CONFIG['cpg132_TABLE_PREFIX']."users";

$CONFIG['cpg132_TABLE_USERS']                = $CONFIG['TABLE_PREFIX']."users";

$CONFIG cpg132_ ['TABLE_USERS']                = $CONFIG['TABLE_PREFIX']."users";

Thanks
MD