mirror of
https://github.com/wallabag/wallabag.git
synced 2026-12-05 23:14:19 +01:00
Extend trailing comma coverage to call arguments while keeping the other Symfony preset targets and heredoc handling.
15 lines
364 B
PHP
15 lines
364 B
PHP
<?php
|
|
|
|
if (!defined('WALLABAG_APP_PHP_DEPRECATED')) {
|
|
define('WALLABAG_APP_PHP_DEPRECATED', true);
|
|
trigger_error(
|
|
'web/app.php is deprecated and will be removed in wallabag 3.0. Use web/index.php instead.',
|
|
\E_USER_DEPRECATED,
|
|
);
|
|
}
|
|
|
|
$_SERVER['APP_ENV'] ??= 'prod';
|
|
$_SERVER['APP_DEBUG'] ??= '0';
|
|
|
|
return require __DIR__ . '/index.php';
|