Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: lang files outside of coppermine  (Read 2852 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.018 seconds with 19 queries.