Update core.static.php
This commit is contained in:
parent
5b99bfef25
commit
b4368f0774
@ -34,7 +34,7 @@
|
||||
}
|
||||
|
||||
function static_isvalid($id) {
|
||||
return !preg_match('[^./\\\\]+', $id);
|
||||
return !preg_match('/[^./\\\\]+/', $id);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user