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
No known key found for this signature in database
GPG Key ID: 6CB4C49B61AD50EF
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 ] ) {

View File

@ -74,7 +74,7 @@
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
<script src="<?=$GLOBALS['config']['installation_path']?>/lib/js/sha512.min.js"></script>
<script src="<?=$GLOBALS['config']['installation_path']?>/lib/js/login.js"></script>
<script>var script_name = "<?=$GLOBALS['config']['installation_path']?>";</script>
<script>var script_name = "<?=$GLOBALS['config']['installation_path']?>/dashboard";</script>
</body>
</html>
<?php