File tree 4 files changed +4
-12
lines changed
4 files changed +4
-12
lines changed Original file line number Diff line number Diff line change 4
4
5
5
require dirname (__DIR__ ).'/vendor/autoload.php ' ;
6
6
7
- if (file_exists (dirname (__DIR__ ).'/config/bootstrap.php ' )) {
8
- require dirname (__DIR__ ).'/config/bootstrap.php ' ;
9
- } elseif (method_exists (Dotenv::class, 'bootEnv ' )) {
7
+ if (method_exists (Dotenv::class, 'bootEnv ' )) {
10
8
(new Dotenv ())->bootEnv (dirname (__DIR__ ).'/.env ' );
11
9
}
Original file line number Diff line number Diff line change 4
4
5
5
require dirname (__DIR__ ).'/vendor/autoload.php ' ;
6
6
7
- if (file_exists (dirname (__DIR__ ).'/config/bootstrap.php ' )) {
8
- require dirname (__DIR__ ).'/config/bootstrap.php ' ;
9
- } elseif (method_exists (Dotenv::class, 'bootEnv ' )) {
7
+ if (method_exists (Dotenv::class, 'bootEnv ' )) {
10
8
(new Dotenv ())->bootEnv (dirname (__DIR__ ).'/.env ' );
11
9
}
Original file line number Diff line number Diff line change 4
4
5
5
require dirname (__DIR__ ).'/vendor/autoload.php ' ;
6
6
7
- if (file_exists (dirname (__DIR__ ).'/config/bootstrap.php ' )) {
8
- require dirname (__DIR__ ).'/config/bootstrap.php ' ;
9
- } elseif (method_exists (Dotenv::class, 'bootEnv ' )) {
7
+ if (method_exists (Dotenv::class, 'bootEnv ' )) {
10
8
(new Dotenv ())->bootEnv (dirname (__DIR__ ).'/.env ' );
11
9
}
Original file line number Diff line number Diff line change 4
4
5
5
require dirname (__DIR__ ).'/vendor/autoload.php ' ;
6
6
7
- if (file_exists (dirname (__DIR__ ).'/config/bootstrap.php ' )) {
8
- require dirname (__DIR__ ).'/config/bootstrap.php ' ;
9
- } elseif (method_exists (Dotenv::class, 'bootEnv ' )) {
7
+ if (method_exists (Dotenv::class, 'bootEnv ' )) {
10
8
(new Dotenv ())->bootEnv (dirname (__DIR__ ).'/.env ' );
11
9
}
You can’t perform that action at this time.
0 commit comments