mirror of
https://github.com/lucaspalomodevelop/opnsense-core.git
synced 2026-03-13 00:07:27 +00:00
fix rc.php_ini_setup file removal missing
This commit is contained in:
parent
e5cae36f16
commit
2d2575572f
@ -27,6 +27,7 @@
|
||||
# Set our operating platform
|
||||
PLATFORM=`/bin/cat /usr/local/etc/platform`
|
||||
|
||||
|
||||
if [ -d /usr/local/lib/php/20131226 ]; then
|
||||
# PHP 5.6
|
||||
EXTENSIONSDIR="/usr/local/lib/php/20131226/"
|
||||
@ -92,14 +93,14 @@ PHPMODULES="$PHPMODULES json"
|
||||
PHPMODULES="$PHPMODULES bcmath"
|
||||
# filter
|
||||
PHPMODULES="$PHPMODULES filter"
|
||||
# phalcon
|
||||
PHPMODULES="$PHPMODULES phalcon"
|
||||
|
||||
# Clear the .ini file to make sure we are clean
|
||||
if [ -f /usr/local/etc/php.ini ]; then
|
||||
/bin/rm /usr/local/etc/php.ini
|
||||
fi
|
||||
if [ -f /usr/local/lib/php.ini ]; then
|
||||
/bin/rm /usr/local/lib/php.ini
|
||||
fi
|
||||
rm -f /usr/local/etc/php/extensions.ini
|
||||
rm -f /usr/local/etc/php.ini
|
||||
rm -f /usr/local/lib/php.ini
|
||||
|
||||
LOADED_MODULES=`/usr/local/bin/php -m | /usr/bin/grep -v "\["`
|
||||
|
||||
# Fetch the timezone from the XML and set it here. We set it later too in the running scripts
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user