mirror of
https://github.com/Mibew/i18n.git
synced 2025-02-02 09:34:41 +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
|
||||
$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';
|
||||
$jsver = "165";
|
||||
|
Loading…
Reference in New Issue
Block a user