diff options
author | rvelices <rv-github@modusoptimus.com> | 2010-03-18 14:30:04 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2010-03-18 14:30:04 +0000 |
commit | 15fdea6925f005d057e748707a07bc571685d6e2 (patch) | |
tree | fc8e813dffbda341015bfc85c5ef6a3331eb75a2 /include/php_compat/file_put_contents.php | |
parent | 7d7f20e80455b661ff436d44bbb1ae61bba92ec6 (diff) |
- 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
Diffstat (limited to 'include/php_compat/file_put_contents.php')
-rw-r--r-- | include/php_compat/file_put_contents.php | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/include/php_compat/file_put_contents.php b/include/php_compat/file_put_contents.php deleted file mode 100644 index 679d9c984..000000000 --- a/include/php_compat/file_put_contents.php +++ /dev/null @@ -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; -} -?>
\ No newline at end of file |