Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <michal@cihar.com>2016-12-08 13:42:07 +0300
committerMichal Čihař <michal@cihar.com>2016-12-08 13:42:07 +0300
commit0c5acc9127e3929b040914586d4f0900629424c3 (patch)
tree0b943b9dbb1ce3ccc2428cc707593a99def86a85 /test/start-local-server
parenta1a306c7ce108c8bd8ebf7fb0f3ef30ce91c17cc (diff)
parentf2bfa7d745a49ecc6625924a376c66ace194d8d1 (diff)
Merge branch 'QA_4_6'
Diffstat (limited to 'test/start-local-server')
-rwxr-xr-xtest/start-local-server6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/start-local-server b/test/start-local-server
index 72e504db57..27e8d395cb 100755
--- a/test/start-local-server
+++ b/test/start-local-server
@@ -1,5 +1,11 @@
#!/bin/sh
+# Do not run as CGI
+if [ -n "$GATEWAY_INTERFACE" ] ; then
+ echo 'Can not invoke as CGI!'
+ exit 1
+fi
+
set -e
set -x