Commit c4aff28a authored by Graham Campbell's avatar Graham Campbell

Correctly deal with the compiled file

parent 39107a78
......@@ -27,9 +27,11 @@ require __DIR__.'/../vendor/autoload.php';
|
*/
$compiledPath = __DIR__.'/../vendor/compiled.php';
if (file_exists($compiledPath))
if (file_exists($compiledPath = __DIR__.'/../vendor/compiled.php';))
{
require $compiledPath;
}
elseif (file_exists($compiledPath = __DIR__.'/../storage/framework/compiled.php';))
{
require $compiledPath;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment