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