![]() |
|
Register_globals is set to off and still get error message - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Register_globals is set to off and still get error message (/thread-8809.html) Pages:
1
2
|
Register_globals is set to off and still get error message - sbillard - 2011-08-03 Sure, we could do this for each and every ini_get() we use. But then what is the point of ini_get()? Seriously, the solution for this problem is as posted. Be sure the PHP.ini file has set the option to the proper constant. (Note also that the other thread you reference is really not the same. In that case the problem was caused by incorrect case in the "constant" so the feature was indeed on as reported.) Bottom line is that Zenphoto will report the settign of the ini_get(). If in some cases that does not match the actual enable of the feature at least we know we will error on the conservative side. There is really no justification for using a sledge hammer to kill this fly. Register_globals is set to off and still get error message - infisxc - 2011-08-04 Quote:But then what is the point of ini_get()? Quote:Note: When querying boolean values Quote:(Note also that the other thread you reference is really not the same. In that case the problem was caused by incorrect case in the "constant" so the feature was indeed on as reported.) Register_globals is set to off and still get error message - infisxc - 2011-08-04 In the PHP package distributed with my Debian distribution, the default settings in php.ini are given with keywords beginning with an upper-case (e.g., Off, and not off). It seems fairly clear to me that the keywords are case insensitive and the problem reported in the other thread by 100cccer was not a problem of case. |