mirror of https://github.com/flarum/flarum
Update paths
parent
733e3f79c8
commit
2752751959
|
@ -318,6 +318,6 @@ Vagrant.configure("2") do |config|
|
||||||
# Any local scripts you may want to run post-provisioning.
|
# Any local scripts you may want to run post-provisioning.
|
||||||
# Add these to the same directory as the Vagrantfile.
|
# Add these to the same directory as the Vagrantfile.
|
||||||
##########
|
##########
|
||||||
config.vm.provision "shell", path: "./system/vagrant/environment.sh", privileged: false
|
config.vm.provision "shell", path: "./flarum/vagrant/environment.sh", privileged: false
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -3,9 +3,11 @@ define('LARAVEL_START', microtime(true));
|
||||||
|
|
||||||
require __DIR__.'/vendor/autoload.php';
|
require __DIR__.'/vendor/autoload.php';
|
||||||
|
|
||||||
// Temp while studio doesn't autoload files
|
// Temp while franzliedke/studio doesn't autoload files
|
||||||
require __DIR__.'/core/src/helpers.php';
|
if (file_exists(__DIR__.'/core')) {
|
||||||
require __DIR__.'/core/vendor/swiftmailer/swiftmailer/lib/swift_required.php';
|
require __DIR__.'/core/src/helpers.php';
|
||||||
|
require __DIR__.'/core/vendor/swiftmailer/swiftmailer/lib/swift_required.php';
|
||||||
|
}
|
||||||
|
|
||||||
$app = new Flarum\Core\Application(
|
$app = new Flarum\Core\Application(
|
||||||
realpath(__DIR__)
|
realpath(__DIR__)
|
||||||
|
|
|
@ -1,13 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
use Flarum\Core;
|
use Flarum\Core;
|
||||||
use Psr\Http\Message\ResponseInterface as Response;
|
|
||||||
use Psr\Http\Message\ServerRequestInterface as Request;
|
|
||||||
use Zend\Diactoros\Server;
|
use Zend\Diactoros\Server;
|
||||||
use Zend\Stratigility\MiddlewarePipe;
|
use Zend\Stratigility\MiddlewarePipe;
|
||||||
|
|
||||||
// Instantiate the application, register providers etc.
|
// Instantiate the application, register providers etc.
|
||||||
$app = require __DIR__.'/system/bootstrap.php';
|
$app = require __DIR__.'/flarum/bootstrap.php';
|
||||||
|
|
||||||
// Set up everything we need for the frontend
|
// Set up everything we need for the frontend
|
||||||
$app->register('Flarum\Forum\ForumServiceProvider');
|
$app->register('Flarum\Forum\ForumServiceProvider');
|
||||||
|
|
Loading…
Reference in New Issue