Merge pull request #3334 from GrahamForks/compiled
Correctly deal with the compiled file
This commit is contained in:
commit
8eb969098b
|
@ -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