diff options
-rw-r--r-- | admin/inc/auth.inc.php | 2 | ||||
-rw-r--r-- | atom.php | 2 | ||||
-rwxr-xr-x | index.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/admin/inc/auth.inc.php b/admin/inc/auth.inc.php index 0acf934..0305b13 100644 --- a/admin/inc/auth.inc.php +++ b/admin/inc/auth.inc.php @@ -6,7 +6,7 @@ if (!class_exists('Planet')) { require __DIR__.'/../../vendor/autoload.php'; } -if (!Planet::authenticateUser($_COOKIE['auth'], $password)) { +if (!Planet::authenticateUser($_COOKIE['auth'] ?? '', $password)) { setcookie('auth', '', time() - 3600); header('Location: login.php'); die(); @@ -1,6 +1,6 @@ <?php include_once(__DIR__.'/app/app.php'); -include_once(__DIR__.'/app/lib/Cache.php'); +include_once(__DIR__.'/app/classes/Cache.php'); if ($Planet->loadOpml(__DIR__.'/custom/people.opml') == 0) exit; @@ -1,6 +1,6 @@ <?php include_once(__DIR__.'/app/app.php'); -include_once(__DIR__.'/app/lib/Cache.php'); +include_once(__DIR__.'/app/classes/Cache.php'); //Installed ? if (!isset($Planet)) { |