forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: antisa33 on July 26, 2006, 02:57:25 pm

Title: lang files outside of coppermine
Post by: antisa33 on July 26, 2006, 02:57:25 pm
Hello
I have done a script outside of coppermine and i need to call the lang files, when i put the line
require('include/init.inc.php');
It says "not in coppermine"
How can i include lang files ?
Thanks
Title: Re: lang files outside of coppermine
Post by: Nibbler on July 26, 2006, 02:58:35 pm
Code: [Select]
define('IN_COPPERMINE', true)'
before you include.
Title: Re: lang files outside of coppermine
Post by: antisa33 on July 27, 2006, 03:35:19 pm
Thank you very much !! :)