|
Revision 996, 378 bytes
(checked in by rats, 10 months ago)
|
Fixed: serveral errors on Upgrade process
|
- Property svn:executable set to
*
|
| Line | |
|---|
| 1 |
#!/bin/bash |
|---|
| 2 |
|
|---|
| 3 |
echo "run from folder /var/www/ispcp/engine/setup" |
|---|
| 4 |
|
|---|
| 5 |
# ispcp.conf |
|---|
| 6 |
echo "Checking if ispcp.conf is ok" |
|---|
| 7 |
cnf_check=$(php -r "include('../../gui/include/ispcp-config.php');") |
|---|
| 8 |
if [ "$cnf_check" != "" ]; then |
|---|
| 9 |
echo "An error has occurred while reading /etc/ispcp/ispcp.conf, here comes the HTML code:" |
|---|
| 10 |
echo $cnf_check |
|---|
| 11 |
echo "" |
|---|
| 12 |
exit; |
|---|
| 13 |
fi |
|---|
| 14 |
echo "Everything fine until here" |
|---|