0
0

fixed weird redirect under nginx proxy_pass over apache2

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

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 ] ) {