1 | <?php |
||
2 | |||
3 | // ------------------------------------------------------------------------- |
||
4 | // OVIDENTIA http://www.ovidentia.org |
||
5 | // Ovidentia is free software; you can redistribute it and/or modify |
||
6 | // it under the terms of the GNU General Public License as published by |
||
7 | // the Free Software Foundation; either version 2, or (at your option) |
||
8 | // any later version. |
||
9 | // |
||
10 | // This program is distributed in the hope that it will be useful, but |
||
11 | // WITHOUT ANY WARRANTY; without even the implied warranty of |
||
12 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
||
13 | // See the GNU General Public License for more details. |
||
14 | // |
||
15 | // You should have received a copy of the GNU General Public License |
||
16 | // along with this program; if not, write to the Free Software |
||
17 | // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
||
18 | // USA. |
||
19 | // ------------------------------------------------------------------------- |
||
20 | /** |
||
21 | * @license http://opensource.org/licenses/gpl-license.php GNU General Public License (GPL) |
||
22 | * @copyright Copyright (c) 2020 by CapWelton ({@link https://www.capwelton.com}) |
||
23 | */ |
||
24 | use Capwelton\Widgets\Widgets\Helpers\WidgetAction; |
||
0 ignored issues
–
show
|
|||
25 | |||
26 | require_once dirname(__FILE__) . '/functions.php'; |
||
27 | |||
28 | $App = app_App(); |
||
29 | |||
30 | try{ |
||
31 | $controller = $App->Controller(); |
||
32 | $action = WidgetAction::fromRequest(); |
||
33 | $controller->execute($action); |
||
34 | } |
||
35 | catch (bab_UnknownActionException $e){ |
||
36 | die('<div class="app-error">' . $App->translate('We have a problem finding this page...') . '</div>'); |
||
37 | } |
||
38 | |||
39 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths