"URL of your coppermine gallery folder", where is it stored? "URL of your coppermine gallery folder", where is it stored?
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

"URL of your coppermine gallery folder", where is it stored?

Started by hc2995, July 26, 2007, 08:11:18 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

hc2995

Where is this particular part of the configuration stored? Iv checked the MySQL database a few times and i cant seem to find this particular part.... Im adding a system that will allow users to host the images from my gallery, and i need this to import the domain of the gallery, like this:

$pic_html .= "<table><tr><td>Image URL:</td><td><input type=\"text\" size=\"50\" readonly value=\"" . htmlentities($gallery_URL . get_pic_url($CURRENT_PIC_DATA, 'fullsize') . "",ENT_QUOTES) . "\" /></td></tr>";


But i need the system to be able to obtain $gallery_URL from where ever the information is stored......


Any help is thanked :P


Regards,
Hc2995

Nibbler

It's in the db. If you are inside Coppermine you can get it from $CONFIG['site_url']

hc2995