mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-16 18:53:26 +02:00
[WIP] nikic/fast-route implementation
I will describe it more in Pull Request
This commit is contained in:
@@ -32,5 +32,19 @@
|
||||
"type": "BEFORE_PAGE",
|
||||
"file": "plugins/example/before.php"
|
||||
}
|
||||
}
|
||||
},
|
||||
"routes": {
|
||||
"First Route": {
|
||||
"pattern": "/YourAwesomePage",
|
||||
"file": "plugins/your-plugin/your-awesome-page.php",
|
||||
"method": "GET",
|
||||
"priority": "130"
|
||||
},
|
||||
"Second Route": {
|
||||
"pattern": "/YourSecondRoute",
|
||||
"file": "plugins/your-plugin/your-awesome-page-two.php",
|
||||
"method": "GET,POST",
|
||||
"priority": "120"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user