mirror of
https://codeberg.org/Cyberpro123/AO3-DL.git
synced 2026-07-10 00:12:07 +00:00
29 lines
1 KiB
PHP
29 lines
1 KiB
PHP
<?php
|
|
# This file is part of AOMO, "Archive Of My Own", a collection of Python and PHP
|
|
# scripts designed act as an improved local backup system
|
|
# for works published on https://archiveofourown.org
|
|
#
|
|
# Copyright (c) 2025 Cyberpro123, except where otherwise noted.
|
|
#
|
|
# This project is available under the GNU General Public License (GPL) v2.0,
|
|
# available at https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html
|
|
# or in the 'LICENSE.md' file that should be distributed alongside this one.
|
|
#
|
|
# Report issues to https://codeberg.org/Cyberpro123/AOMO
|
|
# Contact author at cyberpro123@posteo.com
|
|
include ".aomoCommon.php";
|
|
if (USER_ID) {
|
|
echo getSiteMainLead("User Settings - AOMO");
|
|
echo "<ul><li><a href='settings-skin.php'>Select Site Skin</a></li></ul>";
|
|
echo getSiteMainEnd();
|
|
} else {
|
|
$filenameLen = strlen(__FILE__) - strlen(__DIR__);
|
|
$urlFolder = substr($_SERVER['SCRIPT_NAME'], 0, -($filenameLen));
|
|
echo "<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv='refresh' content='0; url=$urlFolder/' />
|
|
</head>
|
|
</html>";
|
|
}
|
|
?>
|