aboutsummaryrefslogtreecommitdiff
path: root/config-docker.patch
diff options
context:
space:
mode:
Diffstat (limited to 'config-docker.patch')
-rw-r--r--config-docker.patch81
1 files changed, 0 insertions, 81 deletions
diff --git a/config-docker.patch b/config-docker.patch
deleted file mode 100644
index 34f8f8b..0000000
--- a/config-docker.patch
+++ /dev/null
@@ -1,81 +0,0 @@
-diff --git a/h-source/.htaccess b/h-source/.htaccess
-index 56ccf22..61012e2 100755
---- a/h-source/.htaccess
-+++ b/h-source/.htaccess
-@@ -1,7 +1,7 @@
- RewriteEngine On
-
--RewriteCond %{HTTPS} !^on$
--RewriteRule (.*) https://www.h-node.org/$1 [R,L]
-+#RewriteCond %{HTTPS} !^on$
-+#RewriteRule (.*) https://www.h-node.org/$1 [R,L]
-
- # <IfModule mod_rewrite.c>
- # Options +FollowSymlinks
-diff --git a/h-source/Application/Hooks/BeforeChecks.php b/h-source/Application/Hooks/BeforeChecks.php
-index 6f200e6..47e7936 100755
---- a/h-source/Application/Hooks/BeforeChecks.php
-+++ b/h-source/Application/Hooks/BeforeChecks.php
-@@ -13,7 +13,7 @@ if (!defined('EG')) die('Direct access not allowed!');
-
- Params::$htmlentititiesCharset = "UTF-8";
-
--Params::$useHttps = true;
-+Params::$useHttps = false;
-
- Params::$allowedSanitizeFunc .= ",sanitizeString,sanitizeAlphanum";
-
-diff --git a/h-source/Config/Config.php b/h-source/Config/Config.php
-index bea5562..1290751 100755
---- a/h-source/Config/Config.php
-+++ b/h-source/Config/Config.php
-@@ -23,10 +23,10 @@
- if (!defined('EG')) die('Direct access not allowed!');
-
-
--define('DB', '');
--define('USER', '');
-+define('DB', 'hnode');
-+define('USER', 'root');
- define('PWD', '');
--define('HOST', '');
-+define('HOST', 'localhost');
-
- /*default controller name*/
- define('DEFAULT_CONTROLLER','home');
-@@ -35,7 +35,7 @@ define('DEFAULT_CONTROLLER','home');
- define('DEFAULT_ACTION','index');
-
- /*website parameters*/
--define('DOMAIN_NAME','h-source');
-+define('DOMAIN_NAME','localhost');
-
- /*type of database.*/
- //it can be: Mysql, Mysqli or None (first letter in uppercase)
-diff --git a/h-source/admin/Config/Config.php b/h-source/admin/Config/Config.php
-index 24d2e57..3f7866d 100755
---- a/h-source/admin/Config/Config.php
-+++ b/h-source/admin/Config/Config.php
-@@ -6,10 +6,10 @@
- if (!defined('EG')) die('Direct access not allowed!');
-
-
--define('DB', '');
--define('USER', '');
-+define('DB', 'hnode');
-+define('USER', 'root');
- define('PWD', '');
--define('HOST', '');
-+define('HOST', 'localhost');
-
- /*default controller name*/
- define('DEFAULT_CONTROLLER','adminusers');
-@@ -18,7 +18,7 @@ define('DEFAULT_CONTROLLER','adminusers');
- define('DEFAULT_ACTION','login');
-
- /*website parameters*/
--define('DOMAIN_NAME','h-source/admin');
-+define('DOMAIN_NAME','localhost/admin');
-
- /*type of database.*/
- //it can be: Mysql, Mysqli or None (first letter in uppercase)