Nick
|
Posted: 11/03/2003, 6:11 AM |
|
Dear all,
what would be the "clean" way to override functions (e.g. CCUserLogin) in common.php? I want to use my own login backend, yet if I do modify common.php CCS doesn't update it anymore.
Thanks in advance for any clues,
Nick
|
|
|
Steve Kitchen
|
Posted: 11/03/2003, 6:25 AM |
|
Hi Nick,
CCS should only stop updating the common functions that you have modified (where the background is white rather than grey).
I frequently modify CCUserLogin, CCUserLogout and CCSecurityRedirect to provide advanced access control without problems....
I guess that your other option is to write your own include file & call functions from that, but then of course you would be hacking up the code for the individual pages to call your own login functions - this would probably cause you more problems than it solves ...
Regards,
Steve Kitchen
|
|
|
|