modules/galleries: Fixed code injection vulnerability

This commit is contained in:
michu2k
2021-07-31 16:54:30 +02:00
parent 86011d4a26
commit e352185d6a
6 changed files with 63 additions and 59 deletions

View File

@@ -10,13 +10,12 @@
*/
return [
'name' => $core->lang['galleries']['module_name'],
'description' => $core->lang['galleries']['module_desc'],
'author' => 'Sruu.pl',
'version' => '1.0',
'compatibility' => '1.3.*',
'icon' => 'camera',
'name' => $core->lang['galleries']['module_name'],
'description' => $core->lang['galleries']['module_desc'],
'author' => 'Sruu.pl',
'version' => '1.1',
'compatibility' => '1.3.*',
'icon' => 'camera',
'install' => function () use ($core) {
$core->db()->pdo()->exec("CREATE TABLE IF NOT EXISTS `galleries` (
`id` integer NOT NULL PRIMARY KEY AUTOINCREMENT,