1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-17 12:10:45 +02:00
This commit is contained in:
Ryan Cramer
2022-01-06 11:53:18 -05:00
parent 5dab38539f
commit 6b66fac0cf

View File

@@ -404,7 +404,7 @@ class ProcessWire extends Wire {
$config->debug = $debugIf;
}
if($config->useFunctionsAPI) {
if($config->useFunctionsAPI && !function_exists("\\ProcessWire\\pages")) {
$file = $config->paths->core . 'FunctionsAPI.php';
/** @noinspection PhpIncludeInspection */
include_once($file);