mirror of
https://github.com/flarum/core.git
synced 2025-07-28 20:20:34 +02:00
Remove Studio hack
This commit is contained in:
@@ -78,14 +78,6 @@ abstract class AbstractServer
|
|||||||
*/
|
*/
|
||||||
protected function getApp()
|
protected function getApp()
|
||||||
{
|
{
|
||||||
// franzliedke/studio currently doesn't autoload files (see issue
|
|
||||||
// below), so we will need to load them manually if we're using studio.
|
|
||||||
// https://github.com/franzliedke/studio/issues/29
|
|
||||||
if (file_exists($corePath = $this->path.'/core')) {
|
|
||||||
require $corePath.'/src/helpers.php';
|
|
||||||
require $corePath.'/vendor/swiftmailer/swiftmailer/lib/swift_required.php';
|
|
||||||
}
|
|
||||||
|
|
||||||
date_default_timezone_set('UTC');
|
date_default_timezone_set('UTC');
|
||||||
|
|
||||||
$app = new Application($this->path);
|
$app = new Application($this->path);
|
||||||
|
Reference in New Issue
Block a user