File tree Expand file tree Collapse file tree 5 files changed +47
-0
lines changed
Expand file tree Collapse file tree 5 files changed +47
-0
lines changed Original file line number Diff line number Diff line change @@ -87,6 +87,8 @@ app.use.outside = true
8787# DATABASE
8888# --------------------------------------------------------------------
8989
90+ # database.json.path = writable/jsondb/storage
91+
9092# database.default.dsn = mysqli://username:[email protected] :3306/database_name9193
9294# database.default.hostname = localhost:3306
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ /*
4+ | -------------------------------------------------------------------------
5+ | Configure Json Database Root Path
6+ | -------------------------------------------------------------------------
7+ | This path is where you will store
8+ | All your JSON Database files
9+ |
10+ */
11+
12+ $ config ['json_db_path ' ] = (getenv ('database.json.path ' ))
13+ ? ROOTPATH . getenv ('database.json.path ' )
14+ : WRITABLEPATH . 'jsondb ' . DS . 'storage ' ;
Original file line number Diff line number Diff line change 1+ <IfModule authz_core_module >
2+ Require all denied
3+ </IfModule >
4+ <IfModule !authz_core_module >
5+ Deny from all
6+ </IfModule >
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html >
3+
4+ < head >
5+ < title > 403 Forbidden</ title >
6+ </ head >
7+
8+ < body >
9+
10+ < p > Directory access is forbidden.</ p >
11+
12+ </ body >
13+
14+ </ html >
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html >
3+ < head >
4+ < title > 403 Forbidden</ title >
5+ </ head >
6+ < body >
7+
8+ < p > Directory access is forbidden.</ p >
9+
10+ </ body >
11+ </ html >
You can’t perform that action at this time.
0 commit comments