fixed weird redirect under nginx proxy_pass over apache2

This commit is contained in:
Bryan committed 2019-06-02 15:28:58 +02:00
1 parent 8abf2c5e8a
commit c8fac6f815
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -1,6 +1,7 @@
<?php
if ( ! isset ( $_SESSION [ 'user_id' ] ) ) {
header ( "Location: " . $GLOBALS [ 'config' ] [ 'installation_path' ] . "/login" );
exit;
}
if ( isset ( $GLOBALS [ 'request_uri' ] [ 1 ] ) ) {
switch ( $GLOBALS [ 'request_uri' ] [ 1 ] ) {