Correctly deal with the compiled file
This commit is contained in:
parent
39107a78c2
commit
c4aff28a4a
|
@ -27,9 +27,11 @@
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$compiledPath = __DIR__.'/../vendor/compiled.php';
|
if (file_exists($compiledPath = __DIR__.'/../vendor/compiled.php';))
|
||||||
|
{
|
||||||
if (file_exists($compiledPath))
|
require $compiledPath;
|
||||||
|
}
|
||||||
|
elseif (file_exists($compiledPath = __DIR__.'/../storage/framework/compiled.php';))
|
||||||
{
|
{
|
||||||
require $compiledPath;
|
require $compiledPath;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue