Revision aceaf18c
Added by Phil Davis almost 9 years ago
src/usr/local/www/services_rfc2136.php | ||
---|---|---|
60 | 60 |
##|*MATCH=services_rfc2136.php* |
61 | 61 |
##|-PRIV |
62 | 62 |
|
63 |
require("guiconfig.inc"); |
|
63 |
require_once("guiconfig.inc");
|
|
64 | 64 |
|
65 | 65 |
if (!is_array($config['dnsupdates']['dnsupdate'])) { |
66 | 66 |
$config['dnsupdates']['dnsupdate'] = array(); |
Also available in: Unified diff
Always use require_once
The usage of require() and require_once() throughout the system is
inconsistent, and "bugs" come up now and then when the order of
"requires" is a bit different and some require() happens after the
include file is already included/required.
It seems to me that there is no harm at all in always using
require_once().