summaryrefslogtreecommitdiff
path: root/fai_gestion/bin/cake.php
diff options
context:
space:
mode:
Diffstat (limited to 'fai_gestion/bin/cake.php')
-rw-r--r--fai_gestion/bin/cake.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/fai_gestion/bin/cake.php b/fai_gestion/bin/cake.php
new file mode 100644
index 0000000..320ee36
--- /dev/null
+++ b/fai_gestion/bin/cake.php
@@ -0,0 +1,12 @@
+#!/usr/bin/php -q
+<?php
+// Check platform requirements
+require dirname(__DIR__) . '/config/requirements.php';
+require dirname(__DIR__) . '/vendor/autoload.php';
+
+use App\Application;
+use Cake\Console\CommandRunner;
+
+// Build the runner with an application and root executable name.
+$runner = new CommandRunner(new Application(dirname(__DIR__) . '/config'), 'cake');
+exit($runner->run($argv));