Reset compath to / if it's empty
This commit is contained in:
parent
1998cfb68b
commit
22ea6a1be1
|
@ -24,6 +24,7 @@ if ( !isset($_SESSION['validated']) ) {
|
||||||
if ( !isset($_SESSION['compath']) ) {
|
if ( !isset($_SESSION['compath']) ) {
|
||||||
$_SESSION['compath'] = '/';
|
$_SESSION['compath'] = '/';
|
||||||
}
|
}
|
||||||
|
if ( $_SESSION['compath'] == "" ) $_SESSION['compath'] = "/";
|
||||||
|
|
||||||
// This session variable is set to the current comic in Base64
|
// This session variable is set to the current comic in Base64
|
||||||
if ( !isset($_SESSION['comfile']) ) {
|
if ( !isset($_SESSION['comfile']) ) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user