1
0
This commit is contained in:
2020-01-15 00:32:24 +01:00
parent f06948851c
commit e5dc57e2b5
4 changed files with 56 additions and 32 deletions

View File

@@ -19,7 +19,7 @@ class Books
$this->staticData = array_map(function($a){return self::readSingle($a);}, $all);
}
public static function readSingle($a)
private static function readSingle($a)
{
$a['imgfront_url'] = '/data/images/book_img/' . $a['id'] . '_front.png';
$a['imgfront_path'] = __DIR__ . '/../data/images/book_img/' . $a['id'] . '_front.png';