1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

ini_set can return a value

This commit is contained in:
e107steved 2008-11-29 13:10:56 +00:00
parent ee983f623d
commit ec2e436ead

View File

@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org). | GNU General Public License (http://gnu.org).
| |
| $Source: /cvs_backup/e107_0.8/class2.php,v $ | $Source: /cvs_backup/e107_0.8/class2.php,v $
| $Revision: 1.76 $ | $Revision: 1.77 $
| $Date: 2008-11-27 02:18:25 $ | $Date: 2008-11-29 13:10:56 $
| $Author: mcfly_e107 $ | $Author: e107steved $
+----------------------------------------------------------------------------+ +----------------------------------------------------------------------------+
*/ */
// //
@ -1917,8 +1917,9 @@ function e107_ini_set($var, $value)
{ {
if (function_exists('ini_set')) if (function_exists('ini_set'))
{ {
ini_set($var, $value); return ini_set($var, $value);
} }
return FALSE;
} }
// Return true if specified plugin installed, false if not // Return true if specified plugin installed, false if not