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: lang files outside of coppermine  (Read 2688 times)

0 Members and 1 Guest are viewing this topic.

antisa33

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 181
    • Free french kids coloring
lang files outside of coppermine
« 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
« Last Edit: July 27, 2006, 03:35:55 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: lang files outside of coppermine
« Reply #1 on: July 26, 2006, 02:58:35 pm »

Code: [Select]
define('IN_COPPERMINE', true)'
before you include.
Logged

antisa33

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 181
    • Free french kids coloring
Re: lang files outside of coppermine
« Reply #2 on: July 27, 2006, 03:35:19 pm »

Thank you very much !! :)
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 16 queries.