Project

General

Profile

« Previous | Next » 

Revision c44417f8

Added by Scott Ullrich over 15 years ago

Include captiveportal for captiveportal_radius_stop_all()

View differences:

etc/rc.php_ini_setup
28 28
# Set our operating platform
29 29
PLATFORM=`cat /etc/platform`
30 30
EXTENSIONSDIR="/usr/local/lib/php/20060613/"
31

  
32
# Grab amount of memory that is deteceted
31 33
if [ -f /var/log/dmesg.boot ]; then
32 34
	AVAILMEM=`cat /var/log/dmesg.boot | grep "memory" | grep "avail" | awk '{ print $5 }' | cut -d'(' -f2 | cut -d'M' -f1`
33 35
else 
34 36
	AVAILMEM=`dmesg -a | grep "memory" | grep "avail" | awk '{ print $5 }' | cut -d'(' -f2 | cut -d'M' -f1`
35 37
fi
38

  
36 39
# Calculate APC SHM size according 
37 40
# to detected memory values
38 41
if [ "$AVAILMEM" -lt "128" ]; then
......
64 67
# Define php modules.  Do not add .so, it will  
65 68
# be done automatically by the script below.
66 69
PHPMODULES="apc \
67
	bcmath \
68
	bz2 \
69
	ctype \
70 70
	curl \
71 71
	date \
72
	json \
73 72
	gettext \
74 73
	ldap \
75
	libxml \
76
	mbstring \
77
	mhash \
78
	mysql \
79 74
	openssl \
80 75
	pcntl \
81 76
	pcre \
82 77
	posix \
83 78
	readline \
84
	Reflection \
85 79
	session \
86 80
	shmop \
87
	sockets \
88 81
	standard \
89 82
	suhosin \
90 83
	sysvmsg \
91 84
	sysvsem \
92 85
	sysvshm \
93
	sqlite \
94
	tokenizer \ 
95
	uploadprogress \
86
	libxml \
96 87
	xml \
97 88
	xmlreader \
98 89
	zlib"
......
126 117
zlib.output_compression = On
127 118
zlib.output_compression_level = 1
128 119
include_path = ".:/etc/inc:/usr/local/www:/usr/local/captiveportal:/usr/local/pkg"
129
uploadprogress.file.filename_template = /tmp/uploadprogress_%s.txt
130 120
extension_dir=${EXTENSIONSDIR}
131 121

  
132 122
; Extensions
133 123
EOF
134 124

  
125
if [ -d /etc/php_dynamodules ]; then
126
	DYNA_MODULES=`ls /etc/php_dynamodules/`
127
	PHPMODULES="$PHPMODULES $DYNA_MODULES"
128
fi
129

  
135 130
# Loop through and generate modules to load.
136 131
# Take into account modules built into php.
137 132
for EXT in $PHPMODULES; do
usr/local/www/halt.php
43 43
##|-PRIV
44 44

  
45 45
require("guiconfig.inc");
46
require("functions.inc");
47
require("captiveportal.inc");
46 48

  
47 49
if ($_POST) {
48 50
	if ($_POST['Submit'] != " No ") {
usr/local/www/reboot.php
37 37
##|-PRIV
38 38

  
39 39
require("guiconfig.inc");
40
require("functions.inc");
41
require("captiveportal.inc");
40 42

  
41 43
if ($_POST) {
42 44
	if ($_POST['Submit'] == " Yes ") {

Also available in: Unified diff