Fix auth redirects for /dreamgirl subpath
Make login/logout and redirects work when deployed under a subdirectory (e.g. /dreamgirl). Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -35,7 +35,7 @@ dreamgirl_require_login_page();
|
||||
<div id="container">
|
||||
<div style="display:flex; align-items:baseline; justify-content:space-between; gap:12px;">
|
||||
<h1 style="margin:0;"><a href="https://ncue.net" target="_blank" rel="noopener noreferrer">NCue</a></h1>
|
||||
<div style="font-size:12px;"><a href="/logout.php">Logout</a></div>
|
||||
<div style="font-size:12px;"><a href="<?php echo htmlspecialchars(dreamgirl_url('logout.php'), ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8'); ?>">Logout</a></div>
|
||||
</div>
|
||||
|
||||
<div class="gallery-wrap">
|
||||
|
||||
Reference in New Issue
Block a user