Skip to content

Commit d34b4f5

Browse files
authored
Merge pull request #123 from keymanapp/chore/support-debug-mode
chore: support debug mode
2 parents d4b03c8 + a525dd4 commit d34b4f5

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,6 @@ cdn/deploy
88
resources/bootstrap.inc.sh
99
resources/.bootstrap-version
1010
_common/
11+
12+
# State files
13+
_control/debug

.htaccess

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,19 @@
1+
2+
php_value display_errors off
3+
php_value display_startup_errors off
4+
5+
<IfFile /var/www/html/_control/debug>
6+
php_value display_startup_errors on
7+
php_value display_errors stderr
8+
</IfFile>
9+
10+
111
<IfModule mod_headers.c>
212
Header set Access-Control-Allow-Origin "*"
313
</IfModule>
414
<IfModule mod_mime.c>
515
AddType font/ttf .ttf
6-
AddType application/javascript .js
16+
AddType application/javascript .js
717

818
AddCharset UTF-8 .js
919
</IfModule>

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
## START STANDARD SITE BUILD SCRIPT INCLUDE
33
readonly THIS_SCRIPT="$(readlink -f "${BASH_SOURCE[0]}")"
44
readonly BOOTSTRAP="$(dirname "$THIS_SCRIPT")/resources/bootstrap.inc.sh"
5-
readonly BOOTSTRAP_VERSION=v0.10
5+
readonly BOOTSTRAP_VERSION=v0.11
66
[ -f "$BOOTSTRAP" ] && source "$BOOTSTRAP" || source <(curl -fs https://raw.githubusercontent.com/keymanapp/shared-sites/$BOOTSTRAP_VERSION/bootstrap.inc.sh)
77
## END STANDARD SITE BUILD SCRIPT INCLUDE
88

0 commit comments

Comments
 (0)