diff options
author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2018-11-29 16:41:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-29 16:41:23 +0100 |
commit | 39502b4748709948658fd236a1883b902c6fd470 (patch) | |
tree | dc7d2ecf643f9c28b75e4fdb5efc121dcafe3536 /web/app.php | |
parent | b878be4cc99fd4927c70b59386cf7a57b33bb381 (diff) | |
parent | 877787e5fe6a6545105616968939949b4db81347 (diff) | |
download | wallabag-39502b4748709948658fd236a1883b902c6fd470.tar.gz wallabag-39502b4748709948658fd236a1883b902c6fd470.tar.zst wallabag-39502b4748709948658fd236a1883b902c6fd470.zip |
Merge pull request #3758 from wallabag/dropping-php5
Dropping PHP < 7.1
Diffstat (limited to 'web/app.php')
-rw-r--r-- | web/app.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/web/app.php b/web/app.php index 4c2c4650..3427e133 100644 --- a/web/app.php +++ b/web/app.php | |||
@@ -2,14 +2,9 @@ | |||
2 | 2 | ||
3 | use Symfony\Component\HttpFoundation\Request; | 3 | use Symfony\Component\HttpFoundation\Request; |
4 | 4 | ||
5 | /** | 5 | require __DIR__.'/../vendor/autoload.php'; |
6 | * @var Composer\Autoload\ClassLoader | ||
7 | */ | ||
8 | $loader = require __DIR__.'/../app/autoload.php'; | ||
9 | include_once __DIR__.'/../var/bootstrap.php.cache'; | ||
10 | 6 | ||
11 | $kernel = new AppKernel('prod', false); | 7 | $kernel = new AppKernel('prod', false); |
12 | $kernel->loadClassCache(); | ||
13 | //$kernel = new AppCache($kernel); | 8 | //$kernel = new AppCache($kernel); |
14 | 9 | ||
15 | // When using the HttpCache, you need to call the method in your front controller instead of relying on the configuration parameter | 10 | // When using the HttpCache, you need to call the method in your front controller instead of relying on the configuration parameter |