From c05ab58fbb2ceb3a0a8985e5858cd50a815c143e Mon Sep 17 00:00:00 2001 From: Fethi El Hassasna Date: Wed, 20 Aug 2014 23:12:34 +0100 Subject: [PATCH] Rename login_success.php to index.php --- login_success.php => index.php | 0 js/login.coffee | 2 +- js/login.js | 2 +- main_login.php | 4 ++-- 4 files changed, 4 insertions(+), 4 deletions(-) rename login_success.php => index.php (100%) diff --git a/login_success.php b/index.php similarity index 100% rename from login_success.php rename to index.php diff --git a/js/login.coffee b/js/login.coffee index 8c4c627c..a5336922 100644 --- a/js/login.coffee +++ b/js/login.coffee @@ -11,7 +11,7 @@ $(document).ready -> data: "myusername=" + username + "&mypassword=" + password success: (html) -> if html is "true" - window.location = "login_success.php" + window.location = "index.php" else $("#message").html html diff --git a/js/login.js b/js/login.js index 4e9ef391..130484bf 100644 --- a/js/login.js +++ b/js/login.js @@ -15,7 +15,7 @@ $(document).ready(function(){ data: "myusername="+username+"&mypassword="+password, success: function(html){ if(html=='true') { - window.location="login_success.php"; + window.location="index.php"; } else { $("#message").html(html); diff --git a/main_login.php b/main_login.php index 17b718af..5adf8e0e 100644 --- a/main_login.php +++ b/main_login.php @@ -1,8 +1,8 @@