We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f65cec6 commit d1be5e7Copy full SHA for d1be5e7
1 file changed
src/support/App.php
@@ -26,6 +26,11 @@ public static function run()
26
ini_set('display_errors', 'on');
27
error_reporting(E_ALL);
28
29
+ if (DIRECTORY_SEPARATOR === '\\') {
30
+ echo "Please run 'php windows.php' on windows system." . PHP_EOL;
31
+ exit;
32
+ }
33
+
34
if (class_exists(Dotenv::class) && file_exists(run_path('.env'))) {
35
if (method_exists(Dotenv::class, 'createUnsafeImmutable')) {
36
Dotenv::createUnsafeImmutable(run_path())->load();
0 commit comments