Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Table mod for phpnuke 5.5  (Read 4209 times)

0 Members and 1 Guest are viewing this topic.

sigi

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 68
    • http://www.allygally.de
Table mod for phpnuke 5.5
« on: October 02, 2003, 09:34:10 am »

i made a mod to config.inc.php in my coppermine:
[editors note= This may work in sigi's version...phpnuke 5.5 but not in 6.5+]
Code: [Select]

global $prefix;

// MySQL TABLE NAMES PREFIX
$CONFIG['TABLE_PREFIX'] =                 $prefix."_cpg_";


$CONFIG['MODUL_NAME'] = "coppermine";


and also changed the table names in the sql file to reflect the Nuke $prefix ...

that way you can have more than one coppermine installation in one database, as you can have more than one nuke installation in one database, thats what $prefix is for ...


could you add a little feature: locking of the right mouse button click - maybe as an option for the whle gallery or for a category or even for each album ?
Logged
Siegfried Schlosser

Berlin, Germany

had a big Coppermine gallery with more than 250.000 pics  at
www.allygally.de, but due to juristical problems that is closed now ....
Now trying Coppermine 1.4.x at http://walexis.pytalhost.de/
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 18 queries.