vheissu/ci-smarty v4.0.0
Archive has a sub-10KB memberReferences a public code-forge URL
SHA-256ac082aa10d65b917f4c1f3c9da84c1dea9d50f33057816639ca7202e652478ba
MaleculeH₃(Cm₂DbF₂)Md
Evidence
1<?php
2
3declare(strict_types=1);
4
5/**
6 * This file is part of CI Smarty.
7 *
8 * (c) Dwayne Charrington and GitHub contributors
9 *
10 * For the full copyright and license information, please view
11 * the LICENSE file that was distributed with this source code.
12 */
13
14namespace Vheissu\CiSmarty;
15
16use Closure;
17use Smarty\Exception as SmartyException;
18use Smarty\Extension\Base;
19use Smarty\FunctionHandler\Base as FunctionHandler;
20use Smarty\FunctionHandler\FunctionHandlerInterface;
21use Smarty\Template;
22
23/**
⋯4 lines
33:2… * {base_url('uploads/a.jpg')} {site_url('blog')} {theme_url('fonts/x.woff2')}
34 * {route_to('Blog::show', $id)} {lang('App.welcome')}
35 * {csrf_token()} {csrf_hash()}
36 */
37class CodeIgniterExtension e …
166:23… array<string, mixed> $params
167 */
168 public function handle($params, Template $template): string
169 {
170 return ($this->callback)($params);
171 }
172 };
173 …
300:31… n::forInvalidFile($view);
301 }
302
303 $file = (string) realpath($file);
304 $marker = DIRECTORY_SEPARATOR . 'Views' . DIRECTORY_SEPARATOR;
305 $offset = strrpos($file, $marker);
306
307 …
3:42… io/smarty/) templates in CodeIgniter 4 applications.
4
5[](https://github.com/Vheissu/Ci-Smarty/actions/workflows/tests.yml)
6
7## …
No evidence locations were recorded for this file. Raw result