OSDN Git Service
(root)
/
php-libraries
/
Router.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #49 from malukenho/hotfix/declare-missing-property
[php-libraries/Router.git]
/
src
/
PHPRouter
/
Route.php
diff --git
a/src/PHPRouter/Route.php
b/src/PHPRouter/Route.php
index
8b28321
..
e2c326d
100755
(executable)
--- a/
src/PHPRouter/Route.php
+++ b/
src/PHPRouter/Route.php
@@
-153,6
+153,6
@@
class Route
{
$action = explode('::', $this->config['_controller']);
$instance = new $action[0];
-
$instance->$action[1](
);
+
call_user_func_array(array($instance, $action[1]), $this->_parameters
);
}
}