mirror of
https://github.com/moparisthebest/wallabag
synced 2024-12-24 08:18:48 -05:00
[add] dev environment
This commit is contained in:
parent
6f6e7e6dc0
commit
5d7aeb0fb8
@ -10,6 +10,4 @@ require_once __DIR__.'/../vendor/full-text-rss/autoload.php';
|
||||
require_once __DIR__.'/../app/app.php';
|
||||
require_once __DIR__.'/../app/controllers/controllers.php';
|
||||
|
||||
$app['debug'] = true;
|
||||
|
||||
$app->run();
|
||||
|
15
web/index_dev.php
Normal file
15
web/index_dev.php
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
$filename = __DIR__.preg_replace('#(\?.*)$#', '', $_SERVER['REQUEST_URI']);
|
||||
if (php_sapi_name() === 'cli-server' && is_file($filename)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
require_once __DIR__.'/../vendor/autoload.php';
|
||||
require_once __DIR__.'/../vendor/full-text-rss/autoload.php';
|
||||
require_once __DIR__.'/../app/app.php';
|
||||
require_once __DIR__.'/../app/controllers/controllers.php';
|
||||
|
||||
$app['debug'] = true;
|
||||
|
||||
$app->run();
|
Loading…
Reference in New Issue
Block a user