mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-03 18:04:26 +02:00
Fix CustomResourceAmbiguousTest
This commit is contained in:
@@ -2335,6 +2335,9 @@ class Smarty extends \Smarty\TemplateBase
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function setAllowAmbiguousResources(bool $allow) {
|
||||
$this->allow_ambiguous_resources = $allow;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
@@ -308,6 +308,13 @@ abstract class TemplateBase extends Data {
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getCompileCheck(): int {
|
||||
return $this->compile_check;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param int $compile_check
|
||||
*/
|
||||
|
Reference in New Issue
Block a user