add prog: "dops"
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
class Programs implements IWebsiteModule
|
||||
{
|
||||
const PROG_LANGS = [ 'Java', 'C#', 'Delphi', 'PHP', 'C++', 'Rust', 'Typescript' ];
|
||||
const PROG_LANGS = [ 'Java', 'C#', 'Delphi', 'PHP', 'C++', 'Rust', 'Typescript', 'Go' ];
|
||||
|
||||
const URL_ORDER =
|
||||
[
|
||||
|
||||
@@ -19,7 +19,7 @@ class RuleEngine
|
||||
$parse = parse_url($requri);
|
||||
|
||||
$path = isset($parse['path']) ? $parse['path'] : '';
|
||||
$pathparts = preg_split('@/@', $path, NULL, PREG_SPLIT_NO_EMPTY);
|
||||
$pathparts = preg_split('@/@', $path, -1, PREG_SPLIT_NO_EMPTY);
|
||||
$partcount = count($pathparts);
|
||||
|
||||
foreach ($urlConfig as $rule)
|
||||
|
||||
Reference in New Issue
Block a user