[www-doc] [Git][VideoLAN.org/websites][master] php-cgi.sh: use SCRIPT_FILENAME too.

Konstantin Pavlov gitlab at videolan.org
Tue Jun 20 00:40:24 CEST 2017


Konstantin Pavlov pushed to branch master at VideoLAN organization / websites


Commits:
72c5c7e2 by Konstantin Pavlov at 2017-06-20T01:40:09+03:00
php-cgi.sh: use SCRIPT_FILENAME too.

- - - - -


1 changed file:

- www.videolan.org/bin/php-cgi.sh


Changes:

=====================================
www.videolan.org/bin/php-cgi.sh
=====================================
--- a/www.videolan.org/bin/php-cgi.sh
+++ b/www.videolan.org/bin/php-cgi.sh
@@ -24,7 +24,7 @@ export PATH_INFO=`echo "$1" | cut -d '?' -f1`
 
 export PATH_TRANSLATED="${2}${PATH_INFO}"
 
-export SCRIPT_NAME="/cgi-bin/php5"
+export SCRIPT_FILENAME="/cgi-bin/php5"
 export QUERY_STRING=`echo "$1" | cut -d '?' -f2`
 export REMOTE_HOST="localhost"
 export REMOTE_ADDR="127.0.0.1"



View it on GitLab: https://code.videolan.org/VideoLAN.org/websites/commit/72c5c7e2206cc4681146b195eba707632a09aafc

---
View it on GitLab: https://code.videolan.org/VideoLAN.org/websites/commit/72c5c7e2206cc4681146b195eba707632a09aafc
You're receiving this email because of your account on code.videolan.org.


More information about the www-doc mailing list