Till Brehm
2016-06-23 775ed6c69eefe445c52bdbe13c0a25d38127ff94
commit | author | age
bbe747 1 #!/bin/bash
fffd4d 2
9f94a1 3
fffd4d 4 PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin
T 5
95da61 6 . /etc/profile
T 7
68ec43 8 umask 022
T 9
03e170 10 if [ -f /usr/local/ispconfig/server/lib/php.ini ]; then
T 11         PHPINIOWNER=`stat -c %U /usr/local/ispconfig/server/lib/php.ini`
12         if [ $PHPINIOWNER == 'root' ] || [ $PHPINIOWNER == 'ispconfig'  ]; then
13                 export PHPRC=/usr/local/ispconfig/server/lib
14         fi
15 fi
16
6882ab 17 cd /usr/local/ispconfig/server
4bc030 18 /usr/bin/php -q \
MK 19     -d disable_classes= \
20     -d disable_functions= \
21     -d open_basedir= \
22     /usr/local/ispconfig/server/server.php
1ed92e 23
TB 24 cd /usr/local/ispconfig/security
4bc030 25 /usr/bin/php -q \
MK 26     -d disable_classes= \
27     -d disable_functions= \
28     -d open_basedir= \
29     /usr/local/ispconfig/security/check.php