1
0
mirror of https://github.com/flarum/core.git synced 2025-07-25 02:31:17 +02:00

Remove Studio hack

This commit is contained in:
Franz Liedke
2016-01-11 08:38:24 +01:00
parent 56d7fc9cf5
commit 13354e7ed7

View File

@@ -78,14 +78,6 @@ abstract class AbstractServer
*/
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');
$app = new Application($this->path);