Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
2d257557
Commit
2d257557
authored
Dec 08, 2014
by
Ad Schellevis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix rc.php_ini_setup file removal missing
parent
e5cae36f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
rc.php_ini_setup
usr/local/etc/rc.php_ini_setup
+7
-6
No files found.
usr/local/etc/rc.php_ini_setup
View file @
2d257557
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment