aboutsummaryrefslogtreecommitdiffstats
path: root/include/common.inc.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2008-02-27 02:22:19 +0000
committerrvelices <rv-github@modusoptimus.com>2008-02-27 02:22:19 +0000
commit01687607ec04f32ca03370456c112b64f66ca599 (patch)
treeb668b024427a1cc9460dd13a3050c334dfa24109 /include/common.inc.php
parentc3591e2629f84909f5872e4281c08f79926524d4 (diff)
- added compatibility function file_put_contents
git-svn-id: http://piwigo.org/svn/trunk@2215 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/common.inc.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/common.inc.php b/include/common.inc.php
index 7962bb791..5986fe087 100644
--- a/include/common.inc.php
+++ b/include/common.inc.php
@@ -125,6 +125,7 @@ foreach( array(
'array_intersect_key', //PHP 5 >= 5.1.0RC1
'hash_hmac', //(hash) - enabled by default as of PHP 5.1.2
'preg_last_error', // PHP 5 >= 5.2.0
+ 'file_put_contents', //PHP5
) as $func)
{
if (!function_exists($func))