We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28451fd commit 1bda98dCopy full SHA for 1bda98d
bin/console
@@ -1,6 +1,11 @@
1
#!/usr/bin/env php
2
<?php
3
4
+if ("cli" !== php_sapi_name()) {
5
+ printf("This tool must be used in a command line environment only.\n");
6
+ exit 1;
7
+}
8
+
9
require_once __DIR__ . "/../vendor/autoload.php";
10
11
define("ROOT_DIR", sprintf("%s/../", __DIR__));
0 commit comments