This repository has been archived by the owner on May 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
57 changed files
with
1,699 additions
and
2,086 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,15 @@ | ||
# This file is for unifying the coding style for different editors and IDEs | ||
# editorconfig.org | ||
|
||
# PHP PSR-2 Coding Standards | ||
# http://www.php-fig.org/psr/psr-2/ | ||
|
||
root = true | ||
|
||
[*.php] | ||
charset = utf-8 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
indent_style = space | ||
indent_size = 4 |
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
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 |
---|---|---|
@@ -1,21 +1,9 @@ | ||
# block access to all Apache config files | ||
<FilesMatch "^.ht*"> | ||
Order allow,deny | ||
Deny from all | ||
</FilesMatch> | ||
|
||
# block access by file extension | ||
<FilesMatch "(\.sql|\.inc\.php|\.cli\.php|\.sh)$"> | ||
Order allow,deny | ||
Deny from all | ||
</FilesMatch> | ||
# Block access to things that should stay private | ||
<Files ~ "(.xml|.sql|.inc.php|.git*|.log|.tpl)"> | ||
Order allow,deny | ||
Deny from all | ||
</Files> | ||
|
||
# block verboten directories | ||
RedirectMatch 404 /classes(/|$) | ||
RedirectMatch 404 /src(/|$) | ||
RedirectMatch 404 /logs(/|$) | ||
|
||
# block access to secrets.xml | ||
<Files secrets.xml> | ||
Order allow,deny | ||
Deny from all | ||
</Files> |
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
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 |
---|---|---|
@@ -1,7 +1,5 @@ | ||
<?php | ||
|
||
require_once(__DIR__ . '/../common.inc.php'); | ||
require_once __DIR__ . '/../common.inc.php'; | ||
|
||
$smarty->addTemplateDir(__DIR__ . '/templates', basename(__DIR__)); | ||
|
||
?> | ||
$toolbox->smarty_prependTemplateDir(__DIR__ . '/templates', basename(__DIR__)); |
Oops, something went wrong.