diff options
Diffstat (limited to 'etc/inc/meta.inc')
-rw-r--r-- | etc/inc/meta.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/inc/meta.inc b/etc/inc/meta.inc index 520e622..ac8bdfc 100644 --- a/etc/inc/meta.inc +++ b/etc/inc/meta.inc @@ -95,9 +95,9 @@ function read_file_metadata($fpath, & $metadata, $taglist = false) { } $fname = $fpath; - $slash = strrpos($fname,"/"); + $slash = strrpos($fname, "/"); if ($slash) { - $fname = substr($fname,$slash + 1); + $fname = substr($fname, $slash + 1); } $fdata = @file_get_contents($fpath); @@ -157,14 +157,14 @@ function read_file_metadata($fpath, & $metadata, $taglist = false) { $offset = $tagend_trm + 1; if (is_array($taglist)) { - if (!in_array($tagbeg,$taglist)) { + if (!in_array($tagbeg, $taglist)) { continue; } } $vals = array(); - $lines = explode("\n",$mdata); + $lines = explode("\n", $mdata); foreach ($lines as $line) { if (!strlen($line)) { |