mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Remove copy-and-pasted code. Add globals.inc, too we need to define $g
This commit is contained in:
parent
e348af7506
commit
c36e48f0ce
@ -202,8 +202,8 @@ pfSenseNanoBSDupgrade)
|
||||
if [ $? != 0 ]; then
|
||||
/usr/local/bin/php -q -d auto_prepend_file=config.inc <<ENDOFF
|
||||
<?php
|
||||
require_once(\"globals.inc\");
|
||||
require_once(\"functions.inc\");
|
||||
require_once(\"/usr/local/pkg/apache_mod_security.inc\");
|
||||
file_notice("UpgradeFailure", "{$g['product_name']} upgrade has failed. Your system has been left in a usable state.", "UpgradeFailure", "");
|
||||
?>
|
||||
ENDOFF
|
||||
|
||||
Loading…
Reference in New Issue
Block a user