summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2018-09-29 22:05:16 +0100
committerGreg Roach <fisharebest@webtrees.net>2018-09-29 22:05:16 +0100
commit4a28feeb807ba7f35927c812342a6f9b3bbcd4a7 (patch)
treea989450ab720d0978f2b4db4396e43604fc68f7f /index.php
parentc68b52e77b15ef76913521a8d53acec12ebfa0cc (diff)
downloadwebtrees-4a28feeb807ba7f35927c812342a6f9b3bbcd4a7.tar.gz
webtrees-4a28feeb807ba7f35927c812342a6f9b3bbcd4a7.tar.bz2
webtrees-4a28feeb807ba7f35927c812342a6f9b3bbcd4a7.zip
Fix: namespace
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 415fc17b2c..429a0961c8 100644
--- a/index.php
+++ b/index.php
@@ -249,7 +249,7 @@ try {
// Find the controller and action for the selected route
$controller_action = $routes[$request->getMethod() . ':' . $route] ?? 'ErrorController@noRouteFound';
list($controller_name, $action) = explode('@', $controller_action);
- $controller_class = __NAMESPACE__ . '\\Http\\Controllers\\' . $controller_name;
+ $controller_class = '\\Fisharebest\\Webtrees\\Http\\Controllers\\' . $controller_name;
// Set up dependency injection for the controllers.
$resolver = new Resolver();