fixing everything for local use
This commit is contained in:
@@ -3,11 +3,6 @@
|
||||
require_once("/var/www/furatalog/data/script/furatalog.sessions.php");
|
||||
$fs = new furatalogSessions();
|
||||
|
||||
if (!$fs->issetSessionData("login") && ($fs->getSessionData("login") != "true-as-hell")) {
|
||||
header("Location: login.php");
|
||||
die();
|
||||
}
|
||||
|
||||
$_POST["nsfw"] = isset($_POST["nsfw"]) ? "1" : "0";
|
||||
|
||||
function myErrorHandler($errno, $errstr, $errfile, $errline) {
|
||||
@@ -18,7 +13,7 @@ function myErrorHandler($errno, $errstr, $errfile, $errline) {
|
||||
// Set user-defined error handler function
|
||||
//set_error_handler("myErrorHandler");
|
||||
|
||||
$furatalog = new mysqli("localhost", "furatalog_admin_usr", "NR6tLk7c56bPT5[]", "furatalog");
|
||||
$furatalog = new mysqli("10.0.0.100", "furatalog_admin_usr", "NR6tLk7c56bPT5[]", "furatalog");
|
||||
|
||||
if (isset($_POST["url"])) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user