summaryrefslogtreecommitdiffstats
path: root/application/config
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2014-07-23 21:56:01 +0200
committerFlorian Pritz <bluewind@xinu.at>2014-07-23 21:58:19 +0200
commitcc72236f71c60396b69631656f8e0ad00a6301c8 (patch)
treea981833a17cba56e85682048a84e544e877af773 /application/config
parentce58ad70b8f3800adeaaadd46d8ed499bc21eda6 (diff)
Move migration code to CLI callable function
This is necessary to prevent migrations from running multiple times in parallel. A git hook can be used to run this after checkout so impact should be fairly low. Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/config')
-rw-r--r--application/config/routes.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/application/config/routes.php b/application/config/routes.php
index 3ae891bfd..e0d963405 100644
--- a/application/config/routes.php
+++ b/application/config/routes.php
@@ -41,6 +41,7 @@
$route['default_controller'] = "file";
$route['user/(:any)'] = "user/$1";
$route['file/(:any)'] = "file/$1";
+$route['tools/(:any)'] = "tools/$1";
$route['(:any)'] = "file/index/$1";
$route['404_override'] = '';