- removed compatibility with php4 (file_put_contents exists in php5)

- when synchronizing local files , sort them alphabetically

git-svn-id: http://piwigo.org/svn/trunk@5176 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2010-03-18 14:30:04 +00:00
parent 7d7f20e804
commit 15fdea6925
3 changed files with 9 additions and 31 deletions
-14
View File
@@ -1,14 +0,0 @@
<?php
//php 5
function file_put_contents($filename, $data)
{
$fp = fopen($filename, 'w');
if ($fp)
{
$ret = fwrite($fp, $data);
fclose($fp);
return $ret;
}
return false;
}
?>