forked from burhanrasool/dataplug
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
burhanrasool
committed
Oct 21, 2020
1 parent
a550ef5
commit 0cce5e2
Showing
1,523 changed files
with
1,181,122 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Protect the htaccess file | ||
<files .htaccess> | ||
order allow,deny | ||
deny from all | ||
</files> | ||
RewriteEngine on | ||
|
||
#Rules to block unneeded HTTP methods | ||
#RewriteCond %{REQUEST_METHOD} ^(HEAD|TRACE|DELETE|TRACK) [NC] | ||
#RewriteRule ^(.*)$ - [F] | ||
|
||
RewriteCond $1 !^(index\.php|assets|robots\.txt) | ||
RewriteCond %{REQUEST_FILENAME} !-f | ||
RewriteCond %{REQUEST_FILENAME} !-d | ||
RewriteRule ^(.*)$ index.php/$1 [L,QSA] | ||
FileETag None | ||
<FilesMatch "\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav)$"> | ||
Header set Cache-Control "max-age=31536000, public" | ||
</FilesMatch> | ||
# 1 WEEK | ||
|
||
<FilesMatch "\.(txt|xml|js|css)$"> | ||
Header set Cache-Control "max-age=31536000, public" | ||
</FilesMatch> | ||
|
||
<FilesMatch "\.(php|cgi|pl|png)$"> | ||
Header set Cache-Control "max-age=0, private, no-store, no-cache, must-revalidate" | ||
</FilesMatch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
Please follow the steps for configuration of web site | ||
|
||
|
||
Step 1: Execute this query | ||
INSERT INTO `users_group` (`id`, `department_id`, `type`) VALUES (NULL, '0', 'Super Admin'); | ||
|
||
Step 2: Execute this query | ||
INSERT INTO `users` (`id`, `parent_id`, `department_id`, `first_name`, `last_name`, `email`, `username`, `password`, `group_id`, `is_deleted`, `status`, `verification_code`, `forgot_password`, `default_url`, `created_datetime`, `district`) VALUES | ||
(1, 0, 0, 'Super', 'Admin', 'super', 'super', '21232f297a57a5a743894a0e4a801fc3', 1, 0, '1', NULL, NULL, NULL, '2016-12-14 13:50:37', NULL); | ||
|
Oops, something went wrong.