diff options
-rw-r--r-- | .gitignore | 13 | ||||
-rwxr-xr-x | .htaccess.sample (renamed from .htaccess) | 0 | ||||
-rwxr-xr-x | Config/Config.php.sample (renamed from Config/Config.php) | 7 | ||||
-rwxr-xr-x | admin/Config/Config.php.sample (renamed from admin/Config/Config.php) | 7 |
4 files changed, 19 insertions, 8 deletions
@@ -1,3 +1,12 @@ -*~ +# logs +Logs/ mysql/ -TAGS
\ No newline at end of file +TAGS + +# secrets +.htaccess +Config/Config.php +admin/Config/Config.php + +# litter +*~ diff --git a/.htaccess b/.htaccess.sample index 95ab62f..95ab62f 100755 --- a/.htaccess +++ b/.htaccess.sample diff --git a/Config/Config.php b/Config/Config.php.sample index 1290751..bad4d59 100755 --- a/Config/Config.php +++ b/Config/Config.php.sample @@ -23,20 +23,21 @@ if (!defined('EG')) die('Direct access not allowed!'); +/*db parameters*/ define('DB', 'hnode'); define('USER', 'root'); define('PWD', ''); define('HOST', 'localhost'); +/*website parameters*/ +define('DOMAIN_NAME','localhost'); + /*default controller name*/ define('DEFAULT_CONTROLLER','home'); /*default action*/ define('DEFAULT_ACTION','index'); -/*website parameters*/ -define('DOMAIN_NAME','localhost'); - /*type of database.*/ //it can be: Mysql, Mysqli or None (first letter in uppercase) define('DATABASE_TYPE','Mysqli'); diff --git a/admin/Config/Config.php b/admin/Config/Config.php.sample index 3f7866d..c9e128c 100755 --- a/admin/Config/Config.php +++ b/admin/Config/Config.php.sample @@ -6,20 +6,21 @@ if (!defined('EG')) die('Direct access not allowed!'); +/*db parameters*/ define('DB', 'hnode'); define('USER', 'root'); define('PWD', ''); define('HOST', 'localhost'); +/*website parameters*/ +define('DOMAIN_NAME','localhost/admin'); + /*default controller name*/ define('DEFAULT_CONTROLLER','adminusers'); /*default action*/ define('DEFAULT_ACTION','login'); -/*website parameters*/ -define('DOMAIN_NAME','localhost/admin'); - /*type of database.*/ //it can be: Mysql, Mysqli or None (first letter in uppercase) define('DATABASE_TYPE','Mysqli'); |