Skip to content

Commit 012a4a4

Browse files
author
Alexis Luna
committed
Version 1.0.1
Uploading version 1.0.1 code
1 parent 77969ff commit 012a4a4

File tree

517 files changed

+101728
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

517 files changed

+101728
-0
lines changed

.env.example

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
#--------------------------------------------------------------------
2+
# Example Environment Configuration file
3+
#
4+
# This file can be used as a starting point for your own
5+
# custom .env files, and contains most of the possible settings
6+
# available in a default install.
7+
#
8+
# By default, all of the settings are commented out. If you want
9+
# to override the setting, you must un-comment it by removing the '#'
10+
# at the beginning of the line.
11+
#--------------------------------------------------------------------
12+
13+
#--------------------------------------------------------------------
14+
# ENVIRONMENT
15+
#--------------------------------------------------------------------
16+
17+
CI_ENVIRONMENT = development
18+
19+
#--------------------------------------------------------------------
20+
# APP
21+
#--------------------------------------------------------------------
22+
23+
app.baseURL = 'http://localhost/codeigniterauth/public/'
24+
# app.forceGlobalSecureRequests = false
25+
26+
# app.sessionDriver = 'CodeIgniter\Session\Handlers\FileHandler'
27+
# app.sessionCookieName = 'ci_session'
28+
# app.sessionSavePath = NULL
29+
# app.sessionMatchIP = false
30+
# app.sessionTimeToUpdate = 300
31+
# app.sessionRegenerateDestroy = false
32+
33+
# app.cookiePrefix = ''
34+
# app.cookieDomain = ''
35+
# app.cookiePath = '/'
36+
# app.cookieSecure = false
37+
# app.cookieHTTPOnly = false
38+
39+
# app.CSRFProtection = false
40+
# app.CSRFTokenName = 'csrf_test_name'
41+
# app.CSRFCookieName = 'csrf_cookie_name'
42+
# app.CSRFExpire = 7200
43+
# app.CSRFRegenerate = true
44+
# app.CSRFExcludeURIs = []
45+
46+
# app.CSPEnabled = false
47+
48+
app.appTimezone = 'Asia/Manila'
49+
50+
#--------------------------------------------------------------------
51+
# DATABASE
52+
#--------------------------------------------------------------------
53+
54+
database.default.hostname = 127.0.0.1
55+
database.default.database = database
56+
database.default.username = username
57+
database.default.password = password
58+
database.default.DBDriver = MySQLi
59+
60+
# database.tests.hostname = localhost
61+
# database.tests.database = ci4
62+
# database.tests.username = root
63+
# database.tests.password = root
64+
# database.tests.DBDriver = MySQLi
65+
66+
#--------------------------------------------------------------------
67+
# CONTENT SECURITY POLICY
68+
#--------------------------------------------------------------------
69+
70+
# contentsecuritypolicy.reportOnly = false
71+
# contentsecuritypolicy.defaultSrc = 'none'
72+
# contentsecuritypolicy.scriptSrc = 'self'
73+
# contentsecuritypolicy.styleSrc = 'self'
74+
# contentsecuritypolicy.imageSrc = 'self'
75+
# contentsecuritypolicy.base_uri = null
76+
# contentsecuritypolicy.childSrc = null
77+
# contentsecuritypolicy.connectSrc = 'self'
78+
# contentsecuritypolicy.fontSrc = null
79+
# contentsecuritypolicy.formAction = null
80+
# contentsecuritypolicy.frameAncestors = null
81+
# contentsecuritypolicy.mediaSrc = null
82+
# contentsecuritypolicy.objectSrc = null
83+
# contentsecuritypolicy.pluginTypes = null
84+
# contentsecuritypolicy.reportURI = null
85+
# contentsecuritypolicy.sandbox = false
86+
# contentsecuritypolicy.upgradeInsecureRequests = false
87+
88+
#--------------------------------------------------------------------
89+
# ENCRYPTION
90+
#--------------------------------------------------------------------
91+
92+
# encryption.key =
93+
# encryption.driver = OpenSSL
94+
95+
#--------------------------------------------------------------------
96+
# HONEYPOT
97+
#--------------------------------------------------------------------
98+
99+
# honeypot.hidden = 'true'
100+
# honeypot.label = 'Fill This Field'
101+
# honeypot.name = 'honeypot'
102+
# honeypot.template = '<label>{label}</label><input type="text" name="{name}" value=""/>'
103+
# honeypot.container = '<div style="display:none">{template}</div>'

.gitignore

Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
#-------------------------
2+
# Operating Specific Junk Files
3+
#-------------------------
4+
5+
# OS X
6+
.DS_Store
7+
.AppleDouble
8+
.LSOverride
9+
10+
# OS X Thumbnails
11+
._*
12+
13+
# Windows image file caches
14+
Thumbs.db
15+
ehthumbs.db
16+
Desktop.ini
17+
18+
# Recycle Bin used on file shares
19+
$RECYCLE.BIN/
20+
21+
# Windows Installer files
22+
*.cab
23+
*.msi
24+
*.msm
25+
*.msp
26+
27+
# Windows shortcuts
28+
*.lnk
29+
30+
# Linux
31+
*~
32+
33+
# KDE directory preferences
34+
.directory
35+
36+
# Linux trash folder which might appear on any partition or disk
37+
.Trash-*
38+
39+
#-------------------------
40+
# Environment Files
41+
#-------------------------
42+
# These should never be under version control,
43+
# as it poses a security risk.
44+
.env
45+
.vagrant
46+
Vagrantfile
47+
48+
#-------------------------
49+
# Temporary Files
50+
#-------------------------
51+
writable/cache/*
52+
!writable/cache/index.html
53+
54+
writable/logs/*
55+
!writable/logs/index.html
56+
57+
writable/session/*
58+
!writable/session/index.html
59+
60+
writable/uploads/*
61+
!writable/uploads/index.html
62+
63+
writable/debugbar/*
64+
65+
writable/**/*.db
66+
writable/**/*.sqlite
67+
68+
php_errors.log
69+
70+
#-------------------------
71+
# User Guide Temp Files
72+
#-------------------------
73+
user_guide_src/build/*
74+
75+
#-------------------------
76+
# Test Files
77+
#-------------------------
78+
tests/coverage*
79+
80+
# Don't save phpunit under version control.
81+
phpunit
82+
83+
#-------------------------
84+
# Composer
85+
#-------------------------
86+
vendor/
87+
composer.lock
88+
89+
#-------------------------
90+
# IDE / Development Files
91+
#-------------------------
92+
93+
# Modules Testing
94+
_modules/*
95+
96+
# phpenv local config
97+
.php-version
98+
99+
# Jetbrains editors (PHPStorm, etc)
100+
.idea/
101+
*.iml
102+
103+
# Netbeans
104+
nbproject/
105+
build/
106+
nbbuild/
107+
dist/
108+
nbdist/
109+
nbactions.xml
110+
nb-configuration.xml
111+
.nb-gradle/
112+
113+
# Sublime Text
114+
*.tmlanguage.cache
115+
*.tmPreferences.cache
116+
*.stTheme.cache
117+
*.sublime-workspace
118+
*.sublime-project
119+
.phpintel
120+
/api/
121+
122+
# Visual Studio Code
123+
.vscode/
124+
125+
/results/
126+
/phpunit*.xml
127+
/.phpunit.*.cache

app/.htaccess

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<IfModule authz_core_module>
2+
Require all denied
3+
</IfModule>
4+
<IfModule !authz_core_module>
5+
Deny from all
6+
</IfModule>

app/Common.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?php
2+
3+
/**
4+
* The goal of this file is to allow developers a location
5+
* where they can overwrite core procedural functions and
6+
* replace them with their own. This file is loaded during
7+
* the bootstrap process and is called during the frameworks
8+
* execution.
9+
*
10+
* This can be looked at as a `master helper` file that is
11+
* loaded early on, and may also contain additional functions
12+
* that you'd like to use throughout your entire application
13+
*
14+
* @link: https://codeigniter4.github.io/CodeIgniter4/
15+
*/

0 commit comments

Comments
 (0)