aboutsummaryrefslogtreecommitdiff
path: root/www/inc/exif.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/inc/exif.inc.php')
-rw-r--r--www/inc/exif.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/inc/exif.inc.php b/www/inc/exif.inc.php
index 00068c8..ac30a16 100644
--- a/www/inc/exif.inc.php
+++ b/www/inc/exif.inc.php
@@ -46,7 +46,7 @@ function formatEXIF ($k,$v) {
break;
case "DateTime":
//return date("M d Y H:i:s", $v);
- ereg("^([0-9]{4}):([0-9]{1,2}):([0-9]{1,2}) (.*)",$v,$x);
+ preg_match("/^([0-9]{4}):([0-9]{1,2}):([0-9]{1,2}) (.*)/",$v,$x);
return $x[1] . "/" . $x[2] . "/" . $x[3] . " " . $x[4];
break;
default: