mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-25 00:50:29 +00:00
Minor: code cleanup
This commit is contained in:
parent
6e5ef8a866
commit
6fa4f3d5a6
1 changed files with 1 additions and 1 deletions
|
@ -550,7 +550,7 @@ function renderTemplate($name, $__template_data = [], $pluginName = null)
|
||||||
$file = realpath(dirname(__FILE__) . "/../templates/$name.php");
|
$file = realpath(dirname(__FILE__) . "/../templates/$name.php");
|
||||||
}
|
}
|
||||||
if (!file_exists($file)) {
|
if (!file_exists($file)) {
|
||||||
return "<br>template $name ($file) not found";
|
return "template $name ($file) not found";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (is_array($__template_data)) {
|
if (is_array($__template_data)) {
|
||||||
|
|
Loading…
Reference in a new issue