Re: [BEGINNER] init_set() problem

From: Date: Wed, 25 Apr 2001 13:51:32 +0000
Subject: Re: [BEGINNER] init_set() problem
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-583@lists.php.net to get a copy of this message
On Wed, 25 Apr 2001, Luc Saint-Elie wrote: > Hello, > > I plan to develop a Smarty based web site (or more exactly to move major parts > of my existing Nuke based Web site to Smarty) on a hosted environment. > I don't control my machine. > > On my ISP, ini_set() is disabled. > I played with some very basic tests without problem, them I tried the default > example and got : > > Warning: ini_set() has been disabled for security reasons. in > Config_File.class.php on line 235 > Config_File: > > Can I safely comment out this line 235 (its in function load_file() )? > > Is a init_set() disabled a major element able to prevent me to use Smarty ? That line turns error tracking on so that the error message is saved in the $php_errormsg variable.. If you turn it off, then errors on opening config files won't be tracked. -Andrei Commitment, n.: Commitment can be illustrated by a breakfast of ham and eggs. The chicken was involved, the pig was committed.

« previous php.smarty.general (#583) next »