Skip to content

Commit dc2b5af

Browse files
committed
functions_custom.php are not optional
1 parent 11cee81 commit dc2b5af

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

system/functions.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1679,4 +1679,7 @@ function getAccountIdentityColumn(): string
16791679
require_once SYSTEM . 'compat/base.php';
16801680

16811681
// custom functions
1682-
require SYSTEM . 'functions_custom.php';
1682+
$customFunctions = SYSTEM . 'functions_custom.php';
1683+
if (is_file($customFunctions)) {
1684+
require $customFunctions;
1685+
}

0 commit comments

Comments
 (0)