Skip to content

Commit c4aff28

Browse files
Correctly deal with the compiled file
1 parent 39107a7 commit c4aff28

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

bootstrap/autoload.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,11 @@
2727
|
2828
*/
2929

30-
$compiledPath = __DIR__.'/../vendor/compiled.php';
31-
32-
if (file_exists($compiledPath))
30+
if (file_exists($compiledPath = __DIR__.'/../vendor/compiled.php';))
31+
{
32+
require $compiledPath;
33+
}
34+
elseif (file_exists($compiledPath = __DIR__.'/../storage/framework/compiled.php';))
3335
{
3436
require $compiledPath;
3537
}

0 commit comments

Comments
 (0)