mirror of
https://github.com/processwire/processwire.git
synced 2025-08-17 20:11:46 +02:00
Fix issue processwire/processwire-issues#1500
This commit is contained in:
@@ -404,7 +404,7 @@ class ProcessWire extends Wire {
|
|||||||
$config->debug = $debugIf;
|
$config->debug = $debugIf;
|
||||||
}
|
}
|
||||||
|
|
||||||
if($config->useFunctionsAPI) {
|
if($config->useFunctionsAPI && !function_exists("\\ProcessWire\\pages")) {
|
||||||
$file = $config->paths->core . 'FunctionsAPI.php';
|
$file = $config->paths->core . 'FunctionsAPI.php';
|
||||||
/** @noinspection PhpIncludeInspection */
|
/** @noinspection PhpIncludeInspection */
|
||||||
include_once($file);
|
include_once($file);
|
||||||
|
Reference in New Issue
Block a user