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

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

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