Typo Fix
This commit is contained in:
parent
c2ea287384
commit
7bc70d75f5
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ if (!empty($curfiles)| !empty($dirs)) {
|
||||||
$data['gallery_page'] = ceil($page/$gslice);
|
$data['gallery_page'] = ceil($page/$gslice);
|
||||||
$data['gallery_slice'] = $gslice;
|
$data['gallery_slice'] = $gslice;
|
||||||
foreach ($curfiles as $index => $image) {
|
foreach ($curfiles as $index => $image) {
|
||||||
$data['imageurl'] = $imageurl.$dir.'/'.str_replace("'", "&39;", $image);
|
$data['imageurl'] = $imageurl.$dir.'/'.str_replace("'", "'", $image);
|
||||||
$data['imagename'] = $image;
|
$data['imagename'] = $image;
|
||||||
$data['tags'] = array_filter(explode(" ", pathinfo(trim(strstr(strtolower($image), ' - '), " -"))['filename']));
|
$data['tags'] = array_filter(explode(" ", pathinfo(trim(strstr(strtolower($image), ' - '), " -"))['filename']));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue