diff --git a/header.php b/header.php
index a927e99..f990546 100644
--- a/header.php
+++ b/header.php
@@ -24,6 +24,7 @@ if ( !isset($_SESSION['validated']) ) {
 if ( !isset($_SESSION['compath']) ) {
    $_SESSION['compath'] = '/';
 }
+if ( $_SESSION['compath'] == "" ) $_SESSION['compath'] = "/";
 
 // This session variable is set to the current comic in Base64
 if ( !isset($_SESSION['comfile']) ) {