Commit 6c1c5f81 authored by Carsten  Rose's avatar Carsten Rose
Browse files

StoreWebVar.php: __construct() - hardcoded keynames removed and constants used

parent ce342e34
......@@ -26,14 +26,14 @@ class StoreWebVar {
*/
private function __construct() {
self::$defaultSanatizeClass = [
's' => SANATIZE_DIGIT,
'r ' => SANATIZE_DIGIT,
'keySemId' => SANATIZE_DIGIT,
'keySemIdUser' => SANATIZE_DIGIT,
'pageId' => SANATIZE_DIGIT,
'pageType' => SANATIZE_DIGIT,
'pageLanguage' => SANATIZE_DIGIT,
'form' => SANATIZE_ALNUMX
CLIENT_SIP => SANATIZE_DIGIT,
CLIENT_RECORD_ID => SANATIZE_DIGIT,
CLIENT_KEY_SEM_ID => SANATIZE_DIGIT,
CLIENT_KEY_SEM_ID_USER => SANATIZE_DIGIT,
CLIENT_PAGE_ID => SANATIZE_DIGIT,
CLIENT_PAGE_TYPE => SANATIZE_DIGIT,
CLIENT_PAGE_LANGUAGE => SANATIZE_DIGIT,
CLIENT_FORM => SANATIZE_ALNUMX
];
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment