diff options
author | Ermal <eri@pfsense.org> | 2010-05-21 19:44:42 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-05-21 19:44:42 +0000 |
commit | e51cf5960f6718a14c07daa7b6e96337fdba1f0e (patch) | |
tree | 199c254401e65fd697d7796ddebd4d2e0e19a9b4 /etc/inc/system.inc | |
parent | de792e62e30ac90d0d5d96f119681c86836a366f (diff) | |
download | pfsense-e51cf5960f6718a14c07daa7b6e96337fdba1f0e.zip pfsense-e51cf5960f6718a14c07daa7b6e96337fdba1f0e.tar.gz |
Use a global array for the most part of using the return_gateways_array() function in the backend which should lower the memory allocated/cached by php a lot.
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r-- | etc/inc/system.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index 6281a14..45a8e8c 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -248,7 +248,7 @@ function system_hostname_configure() { } function system_routing_configure() { - global $config, $g; + global $config, $g, $gateways_arr; if(isset($config['system']['developerspew'])) { $mt = microtime(); echo "system_routing_configure() being called $mt\n"; @@ -1418,4 +1418,4 @@ function system_get_dmesg_boot() { return file_get_contents("{$g['varlog_path']}/dmesg.boot"); } -?>
\ No newline at end of file +?> |