diff options
author | Patrick Simianer <p@simianer.de> | 2016-07-15 12:17:47 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2016-07-15 12:17:47 +0200 |
commit | d4263d1dc29fe46871caec9fde613bf40f3ed90c (patch) | |
tree | 301812e31228c8bd2397b0e65470ac1a9ea69309 /inc | |
parent | 29ca42a8605ff29524ed287f384d5113f1ec30d7 (diff) |
support for 'noloo' extraction and updatable lm; fixes
Diffstat (limited to 'inc')
-rw-r--r-- | inc/db.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/db.inc.php b/inc/db.inc.php index e023c3a..bc18e16 100644 --- a/inc/db.inc.php +++ b/inc/db.inc.php @@ -2,7 +2,7 @@ $SESSION_DIR="/srv/postedit/sessions"; $key = $_GET["key"]; -if (preg_match('/^[a-z0-9]{1,4}$/', $key)) { +if (preg_match('/^[a-f0-9]{1,4}$/', $key)) { $json = file_get_contents($SESSION_DIR."/".$key."/data.json"); } $db = json_decode($json); |