diff --git a/.gitignore b/.gitignore deleted file mode 100644 index b74decb..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/config.php diff --git a/README.md b/README.md index c1ccbed..c4b43e6 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,6 @@ If you want to host it just for yourself a PHP development server should be enou ``` git clone https://github.com/hnhx/librex.git cd librex -cp config.sample.php config.php sudo php -S 127.0.0.1:80 ```
diff --git a/config.sample.php b/config.php old mode 100644 new mode 100755 similarity index 100% rename from config.sample.php rename to config.php diff --git a/misc/footer.php b/misc/footer.php index f64ae4e..7e67261 100644 --- a/misc/footer.php +++ b/misc/footer.php @@ -1,10 +1,10 @@ diff --git a/settings.php b/settings.php index 70adb99..636ada2 100644 --- a/settings.php +++ b/settings.php @@ -21,7 +21,7 @@ better_setcookie("nitter"); better_setcookie("libreddit"); - header("Location: ./settings.php"); + header("Location: /settings.php"); die(); } else if (isset($_REQUEST["reset"])) @@ -34,7 +34,7 @@ setcookie($name, "", time() - 1000); } - header("Location: ./settings.php"); + header("Location: /settings.php"); die(); } }