Archived
fixed weird redirect under nginx proxy_pass over apache2
This commit is contained in:
2 files changed
+2
-1
No files matched your search
@@ -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 ] ) {
|
||||
|
||||
Reference in new issue
Block a user