mirror of
https://github.com/processwire/processwire.git
synced 2025-08-16 19:54:24 +02:00
Fix issue processwire/processwire-issues#1500
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user