Till Brehm
2016-06-14 a95251e2b49c0c2cb8b81addc3a1afc2300ee650
commit | author | age
bbe747 1 #!/bin/bash
5de2af 2
M 3 PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin
4
5 if [ -f /usr/local/ispconfig/server/lib/php.ini ]; then
6         PHPINIOWNER=`stat -c %U /usr/local/ispconfig/server/lib/php.ini`
7         if [ $PHPINIOWNER == 'root' ] || [ $PHPINIOWNER == 'ispconfig'  ]; then
8                 export PHPRC=/usr/local/ispconfig/server/lib
9         fi
10 fi
11
0e963f 12 cd /usr/local/ispconfig/server
4bc030 13 /usr/bin/php -q \
MK 14     -d disable_classes= \
15     -d disable_functions= \
16     -d open_basedir= \
17     /usr/local/ispconfig/server/cron.php