|
Lines 190-196
is_plack_enabled()
Link Here
|
| 190 |
local site=$1 |
190 |
local site=$1 |
| 191 |
local instancefile=$(get_apache_config_for $site) |
191 |
local instancefile=$(get_apache_config_for $site) |
| 192 |
|
192 |
|
| 193 |
if [ "$instancefile" = "" ]; then |
193 |
if [ -e /var/lib/koha/$site/plack.enabled ]; then |
|
|
194 |
return 0 |
| 195 |
elif [ "$instancefile" = "" ]; then |
| 194 |
return 1 |
196 |
return 1 |
| 195 |
fi |
197 |
fi |
| 196 |
|
198 |
|
|
Lines 199-206
is_plack_enabled()
Link Here
|
| 199 |
grep -q '^[[:space:]]*Include /etc/koha/apache-shared-intranet-plack.conf' \ |
201 |
grep -q '^[[:space:]]*Include /etc/koha/apache-shared-intranet-plack.conf' \ |
| 200 |
"$instancefile" ; then |
202 |
"$instancefile" ; then |
| 201 |
return 0 |
203 |
return 0 |
| 202 |
elif [ -e /var/lib/koha/$instancename/plack.enabled ]; then |
|
|
| 203 |
return 0 |
| 204 |
else |
204 |
else |
| 205 |
return 1 |
205 |
return 1 |
| 206 |
fi |
206 |
fi |
| 207 |
- |
|
|