\ No newline at end of file
+
diff --git a/include/html/form/installation.php b/include/html/form/installation.php
index 9a41250..756ea22 100644
--- a/include/html/form/installation.php
+++ b/include/html/form/installation.php
@@ -1,36 +1,36 @@
-
+
-
+
-
\ No newline at end of file
+
diff --git a/include/html/form/login.php b/include/html/form/login.php
index 7ac06fb..88e6be0 100644
--- a/include/html/form/login.php
+++ b/include/html/form/login.php
@@ -1,27 +1,27 @@
-
+
-
+
-
\ No newline at end of file
+
diff --git a/index.php b/index.php
index 2e21e58..5d3120f 100644
--- a/index.php
+++ b/index.php
@@ -107,7 +107,8 @@
// --------------- INSTALLATION ---------------
if(isset($_GET['installation'])) {
if(isInstalled($bdd) == true) {
- printError('OpenVPN-admin is already installed.');
+ printError('OpenVPN-admin is already installed. Redirection.');
+ header( "refresh:3;url=index.php?admin.php" );
exit -1;
}
@@ -142,7 +143,8 @@
unlink($sql_file);
rmdir(dirname(__FILE__) . '/sql');
- printSuccess('Well done, OpenVPN-Admin is installed.');
+ printSuccess('Well done, OpenVPN-Admin is installed. Redirection.');
+ header( "refresh:3;url=index.php?admin.php" );
}
// Print the installation form
else {