mirror of
https://github.com/Mibew/mibew.git
synced 2025-02-07 00:14:40 +03:00
Sanitize database tables prefix
This commit is contained in:
parent
f26af7f05d
commit
50c0b50abf
@ -23,6 +23,8 @@ require_once(dirname(__FILE__) . '/config.php');
|
|||||||
// Sanitize path to application and remove extra slashes
|
// Sanitize path to application and remove extra slashes
|
||||||
$webimroot = join("/", array_map("urlencode", preg_split('/\//', preg_replace('/\/+$/', '', preg_replace('/\/{2,}/', '/', '/' . $webimroot)))));
|
$webimroot = join("/", array_map("urlencode", preg_split('/\//', preg_replace('/\/+$/', '', preg_replace('/\/{2,}/', '/', '/' . $webimroot)))));
|
||||||
|
|
||||||
|
// Sanitize database tables prefix
|
||||||
|
$mysqlprefix = preg_replace('/[^A-Za-z0-9_$]/', '', $mysqlprefix);
|
||||||
|
|
||||||
$version = '1.6.5';
|
$version = '1.6.5';
|
||||||
$jsver = "165";
|
$jsver = "165";
|
||||||
|
Loading…
Reference in New Issue
Block a user