Global Include Global Include
 

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

Global Include

Started by first-ade, January 22, 2008, 04:49:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

first-ade

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

Nibbler

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.

first-ade

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

Nibbler

They can easily disable ini_set(). Find a more accommodating webhost.