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: Global Include  (Read 2896 times)

0 Members and 1 Guest are viewing this topic.

first-ade

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Global Include
« on: January 22, 2008, 04:49:08 pm »

Hi all

I'm looking for a global include file so that I can add ini_set ( "memory_limit", "32M"); to all the pages without actually having to manually edit every file.  Is there such a file?

Cheers

Ade
« Last Edit: January 22, 2008, 05:49:27 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: Global Include
« Reply #1 on: January 22, 2008, 05:21:10 pm »

You should make the change properly using php.ini or .htaccess (whichever applies). If you have no other option then use include/init.inc.php.
Logged

first-ade

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Global Include
« Reply #2 on: January 22, 2008, 05:24:49 pm »

Thanks, unfortunately my host is a bit overzealous at locking down the web server.
Logged

Nibbler

  • Guest
Re: Global Include
« Reply #3 on: January 22, 2008, 05:50:16 pm »

They can easily disable ini_set(). Find a more accommodating webhost.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.