WIP
This commit is contained in:
@@ -72,7 +72,7 @@ class RadThemeEngine
|
||||
continue;
|
||||
}
|
||||
|
||||
$output .= site()->render($g["acf_fc_layout"], $g);
|
||||
$output .= site()->render(site()->getFlexFilePrefix().$g["acf_fc_layout"], $g);
|
||||
}
|
||||
return $output;
|
||||
};
|
||||
|
||||
@@ -80,6 +80,14 @@ class Site
|
||||
$this->processGuestAJAX();
|
||||
}
|
||||
|
||||
public function getFlexFilePrefix(): string
|
||||
{
|
||||
if (!isset($this->config["flex-file-prefix"])) {
|
||||
return "";
|
||||
}
|
||||
return $this->config["flex-file-prefix"]."_";
|
||||
}
|
||||
|
||||
private function processGuestAJAX()
|
||||
{
|
||||
if (!isset($this->config["guest-ajax"])) {
|
||||
|
||||
Reference in New Issue
Block a user