mirror of
https://github.com/flarum/framework.git
synced 2025-02-06 14:37:14 +08:00
parent
f19d80ee0f
commit
4abd6d61a9
|
@ -292,15 +292,6 @@ class Extension implements Arrayable
|
||||||
if (file_exists($filename)) {
|
if (file_exists($filename)) {
|
||||||
return $filename;
|
return $filename;
|
||||||
}
|
}
|
||||||
|
|
||||||
// To give extension authors some time to migrate to the new extension
|
|
||||||
// format, we will also fallback to the old bootstrap.php name. Consider
|
|
||||||
// this feature deprecated.
|
|
||||||
$deprecatedFilename = "{$this->path}/bootstrap.php";
|
|
||||||
|
|
||||||
if (file_exists($deprecatedFilename)) {
|
|
||||||
return $deprecatedFilename;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue
Block a user