giumar /
fortunecookies
This project does not seem to handle request data directly as such no vulnerable execution paths were found.
include, or for example
via PHP's auto-loading mechanism.
| 1 | <?php |
||
|
0 ignored issues
–
show
Coding Style
introduced
by
Loading history...
|
|||
| 2 | declare(strict_types=1); |
||
| 3 | |||
| 4 | /** |
||
|
0 ignored issues
–
show
|
|||
| 5 | * CakePHP(tm) : Rapid Development Framework (https://cakephp.org) |
||
| 6 | * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) |
||
|
0 ignored issues
–
show
|
|||
| 7 | * |
||
| 8 | * Licensed under The MIT License |
||
| 9 | * Redistributions of files must retain the above copyright notice. |
||
| 10 | * |
||
| 11 | * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) |
||
|
0 ignored issues
–
show
|
|||
| 12 | * @link https://cakephp.org CakePHP(tm) Project |
||
|
0 ignored issues
–
show
|
|||
| 13 | * @since 3.0.0 |
||
|
0 ignored issues
–
show
|
|||
| 14 | * @license https://opensource.org/licenses/mit-license.php MIT License |
||
|
0 ignored issues
–
show
|
|||
| 15 | */ |
||
|
0 ignored issues
–
show
|
|||
| 16 | namespace App\View; |
||
| 17 | |||
| 18 | use Cake\View\View; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Application View |
||
| 22 | * |
||
| 23 | * Your application's default view class |
||
|
0 ignored issues
–
show
|
|||
| 24 | * |
||
| 25 | * @link https://book.cakephp.org/4/en/views.html#the-app-view |
||
| 26 | */ |
||
|
0 ignored issues
–
show
|
|||
| 27 | class AppView extends View |
||
| 28 | { |
||
|
0 ignored issues
–
show
|
|||
| 29 | /** |
||
| 30 | * Initialization hook method. |
||
| 31 | * |
||
| 32 | * Use this method to add common initialization code like loading helpers. |
||
| 33 | * |
||
| 34 | * e.g. `$this->loadHelper('Html');` |
||
| 35 | * |
||
| 36 | * @return void |
||
|
0 ignored issues
–
show
|
|||
| 37 | */ |
||
| 38 | 15 | public function initialize(): void |
|
|
0 ignored issues
–
show
|
|||
| 39 | { |
||
|
0 ignored issues
–
show
|
|||
| 40 | //Paginator in stile Bootstrap |
||
|
0 ignored issues
–
show
|
|||
| 41 | 15 | $this->loadHelper('Paginator', ['templates' => 'paginator-templates']); |
|
| 42 | 15 | } |
|
|
0 ignored issues
–
show
|
|||
| 43 | } |
||
| 44 |