added file path to get_preg()
This commit is contained in:
parent
e731076829
commit
43cbfb0ff3
|
@ -415,6 +415,7 @@ function get_preg($argument, $regexp) {
|
|||
$pregexpr = '/^[^\\\<>=\\$\\?]*$/';
|
||||
break;
|
||||
case "homeDirectory": // Homapath, /path/......
|
||||
case "filePath":
|
||||
$pregexpr = '/^([\/]([[:alnum:]@\\$\\.\\ \\_-])+)+(\/)?$/u';
|
||||
break;
|
||||
case "digit": // Normal number
|
||||
|
|
Loading…
Reference in New Issue