File tree 7 files changed +11
-60
lines changed
7 files changed +11
-60
lines changed Original file line number Diff line number Diff line change @@ -44,13 +44,4 @@ if /usr/local/etc/rc.d/configd status > /dev/null; then
44
44
/usr/local/etc/rc.d/configd restart
45
45
fi
46
46
47
- echo "Flush Phalcon volt templates"
48
- rm -f /usr/local/opnsense/mvc/app/cache/*.php
49
-
50
- echo "Reloading GUI configuration"
51
- /usr/local/etc/rc.php_ini_setup
52
- if pgrep -q php-cgi; then
53
- pkill -HUP php-cgi
54
- fi
55
-
56
47
/usr/local/etc/rc.configure_firmware
Original file line number Diff line number Diff line change @@ -306,13 +306,6 @@ style: want-pear-PHP_CodeSniffer
306
306
style-fix : want-pear-PHP_CodeSniffer
307
307
phpcbf --standard=ruleset.xml ${.CURDIR} /src/opnsense || true
308
308
309
- setup : force
310
- ${.CURDIR} /src/etc/rc.php_ini_setup
311
-
312
- health : force
313
- # check test script output and advertise a failure...
314
- [ " ` ${.CURDIR} /src/etc/rc.php_test_run` " == " FCGI-PASSED PASSED" ]
315
-
316
309
test : want-phpunit
317
310
@cd ${.CURDIR} /src/opnsense/mvc/tests && \
318
311
phpunit --configuration PHPunit.xml
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ install-${TARGET}: force
83
83
84
84
plist-${TARGET} : force
85
85
.for TREE in ${TREES_${TARGET}}
86
- @(cd ${TREE}; find * -type f ${_IGNORES}) | while read FILE; do \
86
+ @(cd ${TREE}; find * -type f ${_IGNORES} -o -type l ) | while read FILE; do \
87
87
FILE="$${FILE%%.in}"; PREFIX=""; \
88
88
if [ -z "${NO_SAMPLE}" -a "$${FILE%%.sample}" != "$${FILE}" ]; then \
89
89
PREFIX="@sample "; \
Original file line number Diff line number Diff line change 122
122
/usr/local/etc/rc.newwanip
123
123
/usr/local/etc/rc.newwanipv6
124
124
/usr/local/etc/rc.openvpn
125
- /usr/local/etc/rc.php_ini_setup
126
- /usr/local/etc/rc.php_test_run
127
125
/usr/local/etc/rc.reboot
128
126
/usr/local/etc/rc.recover
129
127
/usr/local/etc/rc.reload_all
722
720
/usr/local/opnsense/service/templates/OPNsense/Sample/sub2/example_sub2.txt
723
721
/usr/local/opnsense/service/templates/OPNsense/Syslog/+TARGETS
724
722
/usr/local/opnsense/service/templates/OPNsense/Syslog/newsyslog.conf
723
+ /usr/local/opnsense/service/templates/OPNsense/WebGui/+TARGETS
724
+ /usr/local/opnsense/service/templates/OPNsense/WebGui/php.etc.ini
725
+ /usr/local/opnsense/service/templates/OPNsense/WebGui/php.ini
726
+ /usr/local/opnsense/service/templates/OPNsense/WebGui/php.lib.ini
725
727
/usr/local/opnsense/service/tests/__init__.py
726
728
/usr/local/opnsense/service/tests/config/config.xml
727
729
/usr/local/opnsense/service/tests/core.py
Original file line number Diff line number Diff line change @@ -104,6 +104,12 @@ function webgui_configure_do($verbose = false)
104
104
/* only stop the frontend when the generation was successful */
105
105
killbypid ('/var/run/lighty-webConfigurator.pid ' , 'TERM ' , true );
106
106
107
+ /* flush Phalcon volt templates */
108
+ foreach (glob ('/usr/local/opnsense/mvc/app/cache/*.php ' ) as $ filename ) {
109
+ unlink ($ filename );
110
+ }
111
+
112
+
107
113
/* regenerate the php.ini files in case the setup has changed */
108
114
configd_run ('template reload OPNsense/WebGui ' );
109
115
Original file line number Diff line number Diff line change @@ -227,9 +227,6 @@ echo "done."
227
227
# Recreate capabilities DB
228
228
/usr/bin/cap_mkdb /etc/login.conf
229
229
230
- # Set up the correct php.ini content
231
- /usr/local/etc/rc.php_ini_setup
232
-
233
230
# Perform major updates
234
231
for STAGE in B P; do
235
232
if opnsense-update -${STAGE} ; then
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments