/
var
/
www
/
vhosts
/
ihelp.ro
/
httpdocs
/
src
/
View
/
/var/www/vhosts/ihelp.ro/httpdocs/src/View
mkdir
upload
Name
Size
Mode
Actions
Cell/
-
0755
rm
Helper/
-
0755
rm
AjaxView.php
1320
0644
edit
dl
rm
AppView.php
1381
0644
edit
dl
rm
Edit:
/var/www/vhosts/ihelp.ro/httpdocs/src/View/AppView.php
(1381B)
<?php declare(strict_types=1); /** * CakePHP(tm) : Rapid Development Framework (https://cakephp.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @link https://cakephp.org CakePHP(tm) Project * @since 3.0.0 * @license https://opensource.org/licenses/mit-license.php MIT License */ namespace App\View; use Cake\View\View; /** * Application View * * Your application's default view class * * @link https://book.cakephp.org/4/en/views.html#the-app-view */ class AppView extends View { /** * Initialization hook method. * * Use this method to add common initialization code like loading helpers. * * e.g. `$this->loadHelper('Html');` * * @return void */ public function initialize(): void { $this->loadHelper('Thumber/Cake.Thumb'); $this->loadHelper('Form', ['className' => 'AdminLTE.Form']); $this->loadHelper('FormatNumber'); $this->loadHelper('Custom'); if ($this->request->getParam('prefix') != 'Admin') { $this->loadHelper('Paginator', [ 'templates' => 'app_paginator' ]); } } }
Save
cmd:
run