/
home
/
techb158
/
exp.abdallabala.com
/
vendor
/
smarty
/
smarty
/
libs
/
sysplugins
/
/home/techb158/exp.abdallabala.com/vendor/smarty/smarty/libs/sysplugins
mkdir
upload
Name
Size
Mode
Actions
smartycompilerexception.php
771
0644
edit
dl
rm
smartyexception.php
334
0644
edit
dl
rm
smarty_cacheresource.php
6644
0644
edit
dl
rm
smarty_cacheresource_custom.php
9912
0644
edit
dl
rm
smarty_cacheresource_keyvaluestore.php
17651
0644
edit
dl
rm
smarty_data.php
1696
0644
edit
dl
rm
smarty_internal_block.php
1627
0644
edit
dl
rm
smarty_internal_cacheresource_file.php
8202
0644
edit
dl
rm
smarty_internal_compilebase.php
7098
0644
edit
dl
rm
smarty_internal_compile_append.php
1791
0644
edit
dl
rm
smarty_internal_compile_assign.php
3416
0644
edit
dl
rm
smarty_internal_compile_block.php
7696
0644
edit
dl
rm
smarty_internal_compile_block_child.php
485
0644
edit
dl
rm
smarty_internal_compile_block_parent.php
583
0644
edit
dl
rm
smarty_internal_compile_break.php
3854
0644
edit
dl
rm
smarty_internal_compile_call.php
2870
0644
edit
dl
rm
smarty_internal_compile_capture.php
3633
0644
edit
dl
rm
smarty_internal_compile_child.php
2468
0644
edit
dl
rm
smarty_internal_compile_config_load.php
2729
0644
edit
dl
rm
smarty_internal_compile_continue.php
437
0644
edit
dl
rm
smarty_internal_compile_debug.php
1083
0644
edit
dl
rm
smarty_internal_compile_eval.php
1891
0644
edit
dl
rm
smarty_internal_compile_extends.php
5403
0644
edit
dl
rm
smarty_internal_compile_for.php
6706
0644
edit
dl
rm
smarty_internal_compile_foreach.php
11728
0644
edit
dl
rm
smarty_internal_compile_function.php
9933
0644
edit
dl
rm
smarty_internal_compile_if.php
8302
0644
edit
dl
rm
smarty_internal_compile_include.php
15018
0644
edit
dl
rm
smarty_internal_compile_include_php.php
3565
0644
edit
dl
rm
smarty_internal_compile_insert.php
6024
0644
edit
dl
rm
smarty_internal_compile_ldelim.php
1053
0644
edit
dl
rm
smarty_internal_compile_make_nocache.php
1666
0644
edit
dl
rm
smarty_internal_compile_nocache.php
2138
0644
edit
dl
rm
smarty_internal_compile_parent.php
565
0644
edit
dl
rm
smarty_internal_compile_private_block_plugin.php
5084
0644
edit
dl
rm
smarty_internal_compile_private_foreachsection.php
7077
0644
edit
dl
rm
smarty_internal_compile_private_function_plugin.php
2527
0644
edit
dl
rm
smarty_internal_compile_private_modifier.php
8044
0644
edit
dl
rm
smarty_internal_compile_private_object_block_function.php
1356
0644
edit
dl
rm
smarty_internal_compile_private_object_function.php
3200
0644
edit
dl
rm
smarty_internal_compile_private_php.php
9834
0644
edit
dl
rm
smarty_internal_compile_private_print_expression.php
6683
0644
edit
dl
rm
smarty_internal_compile_private_registered_block.php
2981
0644
edit
dl
rm
smarty_internal_compile_private_registered_function.php
3438
0644
edit
dl
rm
smarty_internal_compile_private_special_variable.php
5826
0644
edit
dl
rm
smarty_internal_compile_rdelim.php
902
0644
edit
dl
rm
smarty_internal_compile_section.php
18397
0644
edit
dl
rm
smarty_internal_compile_setfilter.php
2182
0644
edit
dl
rm
smarty_internal_compile_shared_inheritance.php
1797
0644
edit
dl
rm
smarty_internal_compile_while.php
3822
0644
edit
dl
rm
smarty_internal_configfilelexer.php
24846
0644
edit
dl
rm
smarty_internal_configfileparser.php
34640
0644
edit
dl
rm
smarty_internal_config_file_compiler.php
6548
0644
edit
dl
rm
smarty_internal_data.php
8988
0644
edit
dl
rm
smarty_internal_debug.php
15464
0644
edit
dl
rm
smarty_internal_errorhandler.php
4335
0644
edit
dl
rm
smarty_internal_extension_handler.php
8210
0644
edit
dl
rm
smarty_internal_method_addautoloadfilters.php
2222
0644
edit
dl
rm
smarty_internal_method_adddefaultmodifiers.php
1164
0644
edit
dl
rm
smarty_internal_method_append.php
2867
0644
edit
dl
rm
smarty_internal_method_appendbyref.php
1801
0644
edit
dl
rm
smarty_internal_method_assignbyref.php
1276
0644
edit
dl
rm
smarty_internal_method_assignglobal.php
1408
0644
edit
dl
rm
smarty_internal_method_clearallassign.php
778
0644
edit
dl
rm
smarty_internal_method_clearallcache.php
994
0644
edit
dl
rm
smarty_internal_method_clearassign.php
1073
0644
edit
dl
rm
smarty_internal_method_clearcache.php
1285
0644
edit
dl
rm
smarty_internal_method_clearcompiledtemplate.php
5656
0644
edit
dl
rm
smarty_internal_method_clearconfig.php
977
0644
edit
dl
rm
smarty_internal_method_compileallconfig.php
964
0644
edit
dl
rm
smarty_internal_method_compilealltemplates.php
4646
0644
edit
dl
rm
smarty_internal_method_configload.php
7297
0644
edit
dl
rm
smarty_internal_method_createdata.php
1330
0644
edit
dl
rm
smarty_internal_method_getautoloadfilters.php
1353
0644
edit
dl
rm
smarty_internal_method_getconfigvariable.php
919
0644
edit
dl
rm
smarty_internal_method_getconfigvars.php
1633
0644
edit
dl
rm
smarty_internal_method_getdebugtemplate.php
709
0644
edit
dl
rm
smarty_internal_method_getdefaultmodifiers.php
745
0644
edit
dl
rm
smarty_internal_method_getglobal.php
1112
0644
edit
dl
rm
smarty_internal_method_getregisteredobject.php
1344
0644
edit
dl
rm
smarty_internal_method_getstreamvariable.php
1269
0644
edit
dl
rm
smarty_internal_method_gettags.php
2072
0644
edit
dl
rm
smarty_internal_method_gettemplatevars.php
4021
0644
edit
dl
rm
smarty_internal_method_literals.php
3049
0644
edit
dl
rm
smarty_internal_method_loadfilter.php
2172
0644
edit
dl
rm
smarty_internal_method_loadplugin.php
4246
0644
edit
dl
rm
smarty_internal_method_mustcompile.php
1769
0644
edit
dl
rm
smarty_internal_method_registercacheresource.php
1178
0644
edit
dl
rm
smarty_internal_method_registerclass.php
1427
0644
edit
dl
rm
smarty_internal_method_registerdefaultconfighandler.php
1175
0644
edit
dl
rm
smarty_internal_method_registerdefaultpluginhandler.php
1274
0644
edit
dl
rm
smarty_internal_method_registerdefaulttemplatehandler.php
3015
0644
edit
dl
rm
smarty_internal_method_registerfilter.php
2497
0644
edit
dl
rm
smarty_internal_method_registerobject.php
4076
0644
edit
dl
rm
smarty_internal_method_registerplugin.php
2218
0644
edit
dl
rm
smarty_internal_method_registerresource.php
1862
0644
edit
dl
rm
smarty_internal_method_setautoloadfilters.php
2278
0644
edit
dl
rm
smarty_internal_method_setdebugtemplate.php
1023
0644
edit
dl
rm
smarty_internal_method_setdefaultmodifiers.php
1008
0644
edit
dl
rm
smarty_internal_method_unloadfilter.php
1440
0644
edit
dl
rm
smarty_internal_method_unregistercacheresource.php
1074
0644
edit
dl
rm
smarty_internal_method_unregisterfilter.php
1471
0644
edit
dl
rm
smarty_internal_method_unregisterobject.php
1059
0644
edit
dl
rm
smarty_internal_method_unregisterplugin.php
1158
0644
edit
dl
rm
smarty_internal_method_unregisterresource.php
1054
0644
edit
dl
rm
smarty_internal_nocache_insert.php
1731
0644
edit
dl
rm
smarty_internal_parsetree.php
907
0644
edit
dl
rm
smarty_internal_parsetree_code.php
889
0644
edit
dl
rm
smarty_internal_parsetree_dq.php
3315
0644
edit
dl
rm
smarty_internal_parsetree_dqcontent.php
930
0644
edit
dl
rm
smarty_internal_parsetree_tag.php
1776
0644
edit
dl
rm
smarty_internal_parsetree_template.php
4723
0644
edit
dl
rm
smarty_internal_parsetree_text.php
1279
0644
edit
dl
rm
smarty_internal_resource_eval.php
2787
0644
edit
dl
rm
smarty_internal_resource_extends.php
3728
0644
edit
dl
rm
smarty_internal_resource_file.php
6778
0644
edit
dl
rm
smarty_internal_resource_php.php
3602
0644
edit
dl
rm
smarty_internal_resource_registered.php
3199
0644
edit
dl
rm
smarty_internal_resource_stream.php
2395
0644
edit
dl
rm
smarty_internal_resource_string.php
3073
0644
edit
dl
rm
smarty_internal_runtime_cachemodify.php
2593
0644
edit
dl
rm
smarty_internal_runtime_cacheresourcefile.php
5866
0644
edit
dl
rm
smarty_internal_runtime_capture.php
4187
0644
edit
dl
rm
smarty_internal_runtime_codeframe.php
4089
0644
edit
dl
rm
smarty_internal_runtime_filterhandler.php
2977
0644
edit
dl
rm
smarty_internal_runtime_foreach.php
5477
0644
edit
dl
rm
smarty_internal_runtime_getincludepath.php
5011
0644
edit
dl
rm
smarty_internal_runtime_inheritance.php
8369
0644
edit
dl
rm
smarty_internal_runtime_make_nocache.php
2070
0644
edit
dl
rm
smarty_internal_runtime_tplfunction.php
7582
0644
edit
dl
rm
smarty_internal_runtime_updatecache.php
6627
0644
edit
dl
rm
smarty_internal_runtime_updatescope.php
3953
0644
edit
dl
rm
smarty_internal_runtime_writefile.php
3468
0644
edit
dl
rm
smarty_internal_smartytemplatecompiler.php
5625
0644
edit
dl
rm
smarty_internal_template.php
25925
0644
edit
dl
rm
smarty_internal_templatebase.php
13937
0644
edit
dl
rm
smarty_internal_templatecompilerbase.php
59708
0644
edit
dl
rm
smarty_internal_templatelexer.php
36393
0644
edit
dl
rm
smarty_internal_templateparser.php
137880
0644
edit
dl
rm
smarty_internal_testinstall.php
32044
0644
edit
dl
rm
smarty_internal_undefined.php
1699
0644
edit
dl
rm
smarty_resource.php
9514
0644
edit
dl
rm
smarty_resource_custom.php
3015
0644
edit
dl
rm
smarty_resource_recompiled.php
2394
0644
edit
dl
rm
smarty_resource_uncompiled.php
1420
0644
edit
dl
rm
smarty_security.php
23468
0644
edit
dl
rm
smarty_template_cached.php
7768
0644
edit
dl
rm
smarty_template_compiled.php
9461
0644
edit
dl
rm
smarty_template_config.php
3063
0644
edit
dl
rm
smarty_template_resource_base.php
3491
0644
edit
dl
rm
smarty_template_source.php
5327
0644
edit
dl
rm
smarty_undefined_variable.php
567
0644
edit
dl
rm
smarty_variable.php
910
0644
edit
dl
rm
Edit:
/home/techb158/exp.abdallabala.com/vendor/smarty/smarty/libs/sysplugins/smarty_template_cached.php
(7768B)
<?php /** * Created by PhpStorm. * User: Uwe Tews * Date: 04.12.2014 * Time: 06:08 */ /** * Smarty Resource Data Object * Cache Data Container for Template Files * * @package Smarty * @subpackage TemplateResources * @author Rodney Rehm */ class Smarty_Template_Cached extends Smarty_Template_Resource_Base { /** * Cache Is Valid * * @var boolean */ public $valid = null; /** * CacheResource Handler * * @var Smarty_CacheResource */ public $handler = null; /** * Template Cache Id (Smarty_Internal_Template::$cache_id) * * @var string */ public $cache_id = null; /** * saved cache lifetime in seconds * * @var integer */ public $cache_lifetime = 0; /** * Id for cache locking * * @var string */ public $lock_id = null; /** * flag that cache is locked by this instance * * @var bool */ public $is_locked = false; /** * Source Object * * @var Smarty_Template_Source */ public $source = null; /** * Nocache hash codes of processed compiled templates * * @var array */ public $hashes = array(); /** * Flag if this is a cache resource * * @var bool */ public $isCache = true; /** * create Cached Object container * * @param Smarty_Internal_Template $_template template object * * @throws \SmartyException */ public function __construct(Smarty_Internal_Template $_template) { $this->compile_id = $_template->compile_id; $this->cache_id = $_template->cache_id; $this->source = $_template->source; if (!class_exists('Smarty_CacheResource', false)) { include SMARTY_SYSPLUGINS_DIR . 'smarty_cacheresource.php'; } $this->handler = Smarty_CacheResource::load($_template->smarty); } /** * @param Smarty_Internal_Template $_template * * @return Smarty_Template_Cached */ public static function load(Smarty_Internal_Template $_template) { $_template->cached = new Smarty_Template_Cached($_template); $_template->cached->handler->populate($_template->cached, $_template); // caching enabled ? if (!$_template->caching || $_template->source->handler->recompiled ) { $_template->cached->valid = false; } return $_template->cached; } /** * Render cache template * * @param \Smarty_Internal_Template $_template * @param bool $no_output_filter * * @throws \Exception */ public function render(Smarty_Internal_Template $_template, $no_output_filter = true) { if ($this->isCached($_template)) { if ($_template->smarty->debugging) { if (!isset($_template->smarty->_debug)) { $_template->smarty->_debug = new Smarty_Internal_Debug(); } $_template->smarty->_debug->start_cache($_template); } if (!$this->processed) { $this->process($_template); } $this->getRenderedTemplateCode($_template); if ($_template->smarty->debugging) { $_template->smarty->_debug->end_cache($_template); } return; } else { $_template->smarty->ext->_updateCache->updateCache($this, $_template, $no_output_filter); } } /** * Check if cache is valid, lock cache if required * * @param \Smarty_Internal_Template $_template * * @return bool flag true if cache is valid */ public function isCached(Smarty_Internal_Template $_template) { if ($this->valid !== null) { return $this->valid; } while (true) { while (true) { if ($this->exists === false || $_template->smarty->force_compile || $_template->smarty->force_cache) { $this->valid = false; } else { $this->valid = true; } if ($this->valid && $_template->caching === Smarty::CACHING_LIFETIME_CURRENT && $_template->cache_lifetime >= 0 && time() > ($this->timestamp + $_template->cache_lifetime) ) { // lifetime expired $this->valid = false; } if ($this->valid && $_template->compile_check === Smarty::COMPILECHECK_ON && $_template->source->getTimeStamp() > $this->timestamp ) { $this->valid = false; } if ($this->valid || !$_template->smarty->cache_locking) { break; } if (!$this->handler->locked($_template->smarty, $this)) { $this->handler->acquireLock($_template->smarty, $this); break 2; } $this->handler->populate($this, $_template); } if ($this->valid) { if (!$_template->smarty->cache_locking || $this->handler->locked($_template->smarty, $this) === null) { // load cache file for the following checks if ($_template->smarty->debugging) { $_template->smarty->_debug->start_cache($_template); } if ($this->handler->process($_template, $this) === false) { $this->valid = false; } else { $this->processed = true; } if ($_template->smarty->debugging) { $_template->smarty->_debug->end_cache($_template); } } else { $this->is_locked = true; continue; } } else { return $this->valid; } if ($this->valid && $_template->caching === Smarty::CACHING_LIFETIME_SAVED && $_template->cached->cache_lifetime >= 0 && (time() > ($_template->cached->timestamp + $_template->cached->cache_lifetime)) ) { $this->valid = false; } if ($_template->smarty->cache_locking) { if (!$this->valid) { $this->handler->acquireLock($_template->smarty, $this); } elseif ($this->is_locked) { $this->handler->releaseLock($_template->smarty, $this); } } return $this->valid; } return $this->valid; } /** * Process cached template * * @param Smarty_Internal_Template $_template template object * @param bool $update flag if called because cache update */ public function process(Smarty_Internal_Template $_template, $update = false) { if ($this->handler->process($_template, $this, $update) === false) { $this->valid = false; } if ($this->valid) { $this->processed = true; } else { $this->processed = false; } } /** * Read cache content from handler * * @param Smarty_Internal_Template $_template template object * * @return string|false content */ public function read(Smarty_Internal_Template $_template) { if (!$_template->source->handler->recompiled) { return $this->handler->readCachedContent($_template); } return false; } }
Save
cmd:
run