summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-05-15 15:07:23 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-05-15 15:07:23 -0400
commit6b4410d9eace776182f373886785cfd1f2736764 (patch)
tree0d4214f34336b679436e49d17f3f305684eda3f1 /index.php
parent14662354dc501e811dd714aa72fd8001842ee672 (diff)
add a hook to muck around with the arguments array after it's initialized
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/index.php b/index.php
index e24bde917..0c69e226f 100644
--- a/index.php
+++ b/index.php
@@ -101,6 +101,8 @@ function main()
$args = array_merge($args, $_REQUEST);
+ Event::handle('ArgsInitialize', array(&$args));
+
$action = $args['action'];
if (!$action || !preg_match('/^[a-zA-Z0-9_-]*$/', $action)) {