mirror of
https://github.com/flarum/core.git
synced 2025-07-28 04:00:40 +02:00
@@ -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;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user