forked from abhinit217/adptci4
-
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
Niranjan Kumar
committed
May 31, 2023
1 parent
8f42d83
commit ea5527c
Showing
22,759 changed files
with
4,142,421 additions
and
19 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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,143 @@ | ||
#-------------------------------------------------------------------- | ||
# Example Environment Configuration file | ||
# | ||
# This file can be used as a starting point for your own | ||
# custom .env files, and contains most of the possible settings | ||
# available in a default install. | ||
# | ||
# By default, all of the settings are commented out. If you want | ||
# to override the setting, you must un-comment it by removing the '#' | ||
# at the beginning of the line. | ||
#-------------------------------------------------------------------- | ||
|
||
#-------------------------------------------------------------------- | ||
# ENVIRONMENT | ||
#-------------------------------------------------------------------- | ||
|
||
CI_ENVIRONMENT = development | ||
|
||
#-------------------------------------------------------------------- | ||
# APP | ||
#-------------------------------------------------------------------- | ||
|
||
# app.baseURL = '' | ||
# If you have trouble with `.`, you could also use `_`. | ||
app_baseURL = 'http://localhost/ci4adpt/public' | ||
# app.forceGlobalSecureRequests = false | ||
# app.CSPEnabled = false | ||
|
||
#-------------------------------------------------------------------- | ||
# DATABASE | ||
#-------------------------------------------------------------------- | ||
|
||
database.default.hostname = localhost | ||
database.default.database = ci4adpt | ||
database.default.username = root | ||
database.default.password = | ||
database.default.DBDriver = MySQLi | ||
# database.default.DBPrefix = | ||
# database.default.port = 3306 | ||
|
||
# database.tests.hostname = localhost | ||
# database.tests.database = ci4_test | ||
# database.tests.username = root | ||
# database.tests.password = root | ||
# database.tests.DBDriver = MySQLi | ||
# database.tests.DBPrefix = | ||
# database.tests.port = 3306 | ||
|
||
#-------------------------------------------------------------------- | ||
# CONTENT SECURITY POLICY | ||
#-------------------------------------------------------------------- | ||
|
||
# contentsecuritypolicy.reportOnly = false | ||
# contentsecuritypolicy.defaultSrc = 'none' | ||
# contentsecuritypolicy.scriptSrc = 'self' | ||
# contentsecuritypolicy.styleSrc = 'self' | ||
# contentsecuritypolicy.imageSrc = 'self' | ||
# contentsecuritypolicy.baseURI = null | ||
# contentsecuritypolicy.childSrc = null | ||
# contentsecuritypolicy.connectSrc = 'self' | ||
# contentsecuritypolicy.fontSrc = null | ||
# contentsecuritypolicy.formAction = null | ||
# contentsecuritypolicy.frameAncestors = null | ||
# contentsecuritypolicy.frameSrc = null | ||
# contentsecuritypolicy.mediaSrc = null | ||
# contentsecuritypolicy.objectSrc = null | ||
# contentsecuritypolicy.pluginTypes = null | ||
# contentsecuritypolicy.reportURI = null | ||
# contentsecuritypolicy.sandbox = false | ||
# contentsecuritypolicy.upgradeInsecureRequests = false | ||
# contentsecuritypolicy.styleNonceTag = '{csp-style-nonce}' | ||
# contentsecuritypolicy.scriptNonceTag = '{csp-script-nonce}' | ||
# contentsecuritypolicy.autoNonce = true | ||
|
||
#-------------------------------------------------------------------- | ||
# COOKIE | ||
#-------------------------------------------------------------------- | ||
|
||
# cookie.prefix = '' | ||
# cookie.expires = 0 | ||
# cookie.path = '/' | ||
# cookie.domain = '' | ||
# cookie.secure = false | ||
# cookie.httponly = false | ||
# cookie.samesite = 'Lax' | ||
# cookie.raw = false | ||
|
||
#-------------------------------------------------------------------- | ||
# ENCRYPTION | ||
#-------------------------------------------------------------------- | ||
|
||
# encryption.key = | ||
# encryption.driver = OpenSSL | ||
# encryption.blockSize = 16 | ||
# encryption.digest = SHA512 | ||
|
||
#-------------------------------------------------------------------- | ||
# HONEYPOT | ||
#-------------------------------------------------------------------- | ||
|
||
# honeypot.hidden = 'true' | ||
# honeypot.label = 'Fill This Field' | ||
# honeypot.name = 'honeypot' | ||
# honeypot.template = '<label>{label}</label><input type="text" name="{name}" value=""/>' | ||
# honeypot.container = '<div style="display:none">{template}</div>' | ||
|
||
#-------------------------------------------------------------------- | ||
# SECURITY | ||
#-------------------------------------------------------------------- | ||
|
||
security.csrfProtection = FALSE | ||
# security.tokenRandomize = false | ||
security.tokenName = 'csrf_test_name' | ||
security.headerName = 'X-CSRF-TOKEN' | ||
security.cookieName = 'csrf_cookie_name' | ||
security.expires = 7200 | ||
security.regenerate = true | ||
# security.redirect = false | ||
# security.samesite = 'Lax' | ||
|
||
#-------------------------------------------------------------------- | ||
# SESSION | ||
#-------------------------------------------------------------------- | ||
|
||
# session.driver = 'CodeIgniter\Session\Handlers\FileHandler' | ||
# session.cookieName = 'ci_session' | ||
# session.expiration = 7200 | ||
# session.savePath = null | ||
# session.matchIP = false | ||
# session.timeToUpdate = 300 | ||
# session.regenerateDestroy = false | ||
|
||
#-------------------------------------------------------------------- | ||
# LOGGER | ||
#-------------------------------------------------------------------- | ||
|
||
# logger.threshold = 4 | ||
|
||
#-------------------------------------------------------------------- | ||
# CURLRequest | ||
#-------------------------------------------------------------------- | ||
|
||
# curlrequest.shareOptions = true |
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,18 +1,50 @@ | ||
*/config/development | ||
*/logs/log-*.php | ||
!*/logs/index.html | ||
*/cache/* | ||
!system/cache/* | ||
!*/cache/index.html | ||
!*/cache/.htaccess | ||
|
||
user_guide_src/build/* | ||
user_guide_src/cilexer/build/* | ||
user_guide_src/cilexer/dist/* | ||
user_guide_src/cilexer/pycilexer.egg-info/* | ||
|
||
#codeigniter 3 | ||
application/logs/* | ||
!application/logs/index.html | ||
!application/logs/.htaccess | ||
/vendor/ | ||
# These are some examples of commonly ignored file patterns. | ||
# You should customize this list as applicable to your project. | ||
# Learn more about .gitignore: | ||
# https://www.atlassian.com/git/tutorials/saving-changes/gitignore | ||
|
||
# Node artifact files | ||
node_modules/ | ||
dist/ | ||
|
||
# Compiled Java class files | ||
*.class | ||
|
||
# Compiled Python bytecode | ||
*.py[cod] | ||
|
||
# Log files | ||
*.log | ||
|
||
# Package files | ||
*.jar | ||
|
||
# Maven | ||
target/ | ||
dist/ | ||
|
||
# JetBrains IDE | ||
.idea/ | ||
|
||
# Unit test reports | ||
TEST*.xml | ||
|
||
# Generated by MacOS | ||
.DS_Store | ||
|
||
# Generated by Windows | ||
Thumbs.db | ||
|
||
# Applications | ||
*.app | ||
*.exe | ||
*.war | ||
|
||
# Large media files | ||
*.mp4 | ||
*.tiff | ||
*.avi | ||
*.flv | ||
*.mov | ||
*.wmv | ||
|
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,2 @@ | ||
Options +Indexes | ||
DirectoryIndex index.php index.html |
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,22 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2014-2019 British Columbia Institute of Technology | ||
Copyright (c) 2019-2023 CodeIgniter Foundation | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
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 +1,54 @@ | ||
# adptci4 | ||
# CodeIgniter 4 Framework | ||
|
||
## What is CodeIgniter? | ||
|
||
CodeIgniter is a PHP full-stack web framework that is light, fast, flexible and secure. | ||
More information can be found at the [official site](https://codeigniter.com). | ||
|
||
This repository holds the distributable version of the framework. | ||
It has been built from the | ||
[development repository](https://github.com/codeigniter4/CodeIgniter4). | ||
|
||
More information about the plans for version 4 can be found in [CodeIgniter 4](https://forum.codeigniter.com/forumdisplay.php?fid=28) on the forums. | ||
|
||
The user guide corresponding to the latest version of the framework can be found | ||
[here](https://codeigniter4.github.io/userguide/). | ||
|
||
## Important Change with index.php | ||
|
||
`index.php` is no longer in the root of the project! It has been moved inside the *public* folder, | ||
for better security and separation of components. | ||
|
||
This means that you should configure your web server to "point" to your project's *public* folder, and | ||
not to the project root. A better practice would be to configure a virtual host to point there. A poor practice would be to point your web server to the project root and expect to enter *public/...*, as the rest of your logic and the | ||
framework are exposed. | ||
|
||
**Please** read the user guide for a better explanation of how CI4 works! | ||
|
||
## Repository Management | ||
|
||
We use GitHub issues, in our main repository, to track **BUGS** and to track approved **DEVELOPMENT** work packages. | ||
We use our [forum](http://forum.codeigniter.com) to provide SUPPORT and to discuss | ||
FEATURE REQUESTS. | ||
|
||
This repository is a "distribution" one, built by our release preparation script. | ||
Problems with it can be raised on our forum, or as issues in the main repository. | ||
|
||
## Contributing | ||
|
||
We welcome contributions from the community. | ||
|
||
Please read the [*Contributing to CodeIgniter*](https://github.com/codeigniter4/CodeIgniter4/blob/develop/CONTRIBUTING.md) section in the development repository. | ||
|
||
## Server Requirements | ||
|
||
PHP version 7.4 or higher is required, with the following extensions installed: | ||
|
||
- [intl](http://php.net/manual/en/intl.requirements.php) | ||
- [mbstring](http://php.net/manual/en/mbstring.installation.php) | ||
|
||
Additionally, make sure that the following extensions are enabled in your PHP: | ||
|
||
- json (enabled by default - don't turn it off) | ||
- [mysqlnd](http://php.net/manual/en/mysqlnd.install.php) if you plan to use MySQL | ||
- [libcurl](http://php.net/manual/en/curl.requirements.php) if you plan to use the HTTP\CURLRequest library |
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,6 @@ | ||
<IfModule authz_core_module> | ||
Require all denied | ||
</IfModule> | ||
<IfModule !authz_core_module> | ||
Deny from all | ||
</IfModule> |
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 @@ | ||
<?php | ||
|
||
/** | ||
* The goal of this file is to allow developers a location | ||
* where they can overwrite core procedural functions and | ||
* replace them with their own. This file is loaded during | ||
* the bootstrap process and is called during the framework's | ||
* execution. | ||
* | ||
* This can be looked at as a `master helper` file that is | ||
* loaded early on, and may also contain additional functions | ||
* that you'd like to use throughout your entire application | ||
* | ||
* @see: https://codeigniter.com/user_guide/extending/common.html | ||
*/ |
Oops, something went wrong.