-
Notifications
You must be signed in to change notification settings - Fork 99
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
19 changed files
with
491 additions
and
57 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 |
---|---|---|
@@ -1,19 +1,126 @@ | ||
*/config/development | ||
*/logs/log-*.php | ||
!*/logs/index.html | ||
*/cache/* | ||
!*/cache/index.html | ||
!*/cache/.htaccess | ||
#------------------------- | ||
# Operating Specific Junk Files | ||
#------------------------- | ||
|
||
# OS X | ||
.DS_Store | ||
.AppleDouble | ||
.LSOverride | ||
|
||
# OS X Thumbnails | ||
._* | ||
|
||
# Windows image file caches | ||
Thumbs.db | ||
ehthumbs.db | ||
Desktop.ini | ||
|
||
# Recycle Bin used on file shares | ||
$RECYCLE.BIN/ | ||
|
||
# Windows Installer files | ||
*.cab | ||
*.msi | ||
*.msm | ||
*.msp | ||
|
||
# Windows shortcuts | ||
*.lnk | ||
|
||
# Linux | ||
*~ | ||
|
||
# KDE directory preferences | ||
.directory | ||
|
||
# Linux trash folder which might appear on any partition or disk | ||
.Trash-* | ||
|
||
#------------------------- | ||
# Environment Files | ||
#------------------------- | ||
# These should never be under version control, | ||
# as it poses a security risk. | ||
.env | ||
.vagrant | ||
Vagrantfile | ||
|
||
#------------------------- | ||
# Temporary Files | ||
#------------------------- | ||
writable/cache/* | ||
!writable/cache/index.html | ||
|
||
writable/logs/* | ||
!writable/logs/index.html | ||
|
||
writable/session/* | ||
!writable/session/index.html | ||
|
||
writable/uploads/* | ||
!writable/uploads/index.html | ||
|
||
writable/debugbar/* | ||
|
||
php_errors.log | ||
|
||
#------------------------- | ||
# User Guide Temp Files | ||
#------------------------- | ||
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/ | ||
/nbproject/private/ | ||
/nbproject/ | ||
#------------------------- | ||
# Test Files | ||
#------------------------- | ||
tests/coverage* | ||
|
||
# Don't save phpunit under version control. | ||
phpunit | ||
|
||
#------------------------- | ||
# Composer | ||
#------------------------- | ||
vendor/ | ||
composer.lock | ||
|
||
#------------------------- | ||
# IDE / Development Files | ||
#------------------------- | ||
|
||
# Modules Testing | ||
_modules/* | ||
|
||
# phpenv local config | ||
.php-version | ||
|
||
# Jetbrains editors (PHPStorm, etc) | ||
.idea/ | ||
*.iml | ||
|
||
# Netbeans | ||
nbproject/ | ||
build/ | ||
nbbuild/ | ||
dist/ | ||
nbdist/ | ||
nbactions.xml | ||
nb-configuration.xml | ||
.nb-gradle/ | ||
|
||
# Sublime Text | ||
*.tmlanguage.cache | ||
*.tmPreferences.cache | ||
*.stTheme.cache | ||
*.sublime-workspace | ||
*.sublime-project | ||
.phpintel | ||
/api/ | ||
|
||
# Visual Studio Code | ||
.vscode/ | ||
|
||
/results/ | ||
/phpunit*.xml |
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 frameworks | ||
* 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 | ||
* | ||
* @link: https://codeigniter4.github.io/CodeIgniter4/ | ||
*/ |
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,164 @@ | ||
<?php | ||
namespace Config; | ||
|
||
class Email | ||
{ | ||
|
||
/** | ||
* @var string | ||
*/ | ||
public $fromEmail; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
public $fromName; | ||
|
||
/** | ||
* The "user agent" | ||
* | ||
* @var string | ||
*/ | ||
public $userAgent = 'CodeIgniter'; | ||
|
||
/** | ||
* The mail sending protocol: mail, sendmail, smtp | ||
* | ||
* @var string | ||
*/ | ||
public $protocol = 'mail'; | ||
|
||
/** | ||
* The server path to Sendmail. | ||
* | ||
* @var string | ||
*/ | ||
public $mailPath = '/usr/sbin/sendmail'; | ||
|
||
/** | ||
* SMTP Server Address | ||
* | ||
* @var string | ||
*/ | ||
public $SMTPHost; | ||
|
||
/** | ||
* SMTP Username | ||
* | ||
* @var string | ||
*/ | ||
public $SMTPUser; | ||
|
||
/** | ||
* SMTP Password | ||
* | ||
* @var string | ||
*/ | ||
public $SMTPPass; | ||
|
||
/** | ||
* SMTP Port | ||
* | ||
* @var integer | ||
*/ | ||
public $SMTPPort = 25; | ||
|
||
/** | ||
* SMTP Timeout (in seconds) | ||
* | ||
* @var integer | ||
*/ | ||
public $SMTPTimeout = 5; | ||
|
||
/** | ||
* Enable persistent SMTP connections | ||
* | ||
* @var boolean | ||
*/ | ||
public $SMTPKeepAlive = false; | ||
|
||
/** | ||
* SMTP Encryption. Either tls or ssl | ||
* | ||
* @var string | ||
*/ | ||
public $SMTPCrypto = 'tls'; | ||
|
||
/** | ||
* Enable word-wrap | ||
* | ||
* @var boolean | ||
*/ | ||
public $wordWrap = true; | ||
|
||
/** | ||
* Character count to wrap at | ||
* | ||
* @var integer | ||
*/ | ||
public $wrapChars = 76; | ||
|
||
/** | ||
* Type of mail, either 'text' or 'html' | ||
* | ||
* @var string | ||
*/ | ||
public $mailType = 'text'; | ||
|
||
/** | ||
* Character set (utf-8, iso-8859-1, etc.) | ||
* | ||
* @var string | ||
*/ | ||
public $charset = 'UTF-8'; | ||
|
||
/** | ||
* Whether to validate the email address | ||
* | ||
* @var boolean | ||
*/ | ||
public $validate = false; | ||
|
||
/** | ||
* Email Priority. 1 = highest. 5 = lowest. 3 = normal | ||
* | ||
* @var integer | ||
*/ | ||
public $priority = 3; | ||
|
||
/** | ||
* Newline character. (Use “\r\n” to comply with RFC 822) | ||
* | ||
* @var string | ||
*/ | ||
public $CRLF = "\r\n"; | ||
|
||
/** | ||
* Newline character. (Use “\r\n” to comply with RFC 822) | ||
* | ||
* @var string | ||
*/ | ||
public $newline = "\r\n"; | ||
|
||
/** | ||
* Enable BCC Batch Mode. | ||
* | ||
* @var boolean | ||
*/ | ||
public $BCCBatchMode = false; | ||
|
||
/** | ||
* Number of emails in each BCC batch | ||
* | ||
* @var integer | ||
*/ | ||
public $BCCBatchSize = 200; | ||
|
||
/** | ||
* Enable notify message from server | ||
* | ||
* @var boolean | ||
*/ | ||
public $DSN = false; | ||
|
||
} |
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,36 @@ | ||
<?php | ||
namespace Config; | ||
|
||
use CodeIgniter\Config\BaseConfig; | ||
|
||
/** | ||
* Encryption configuration. | ||
* | ||
* These are the settings used for encryption, if you don't pass a parameter | ||
* array to the encrypter for creation/initialization. | ||
*/ | ||
class Encryption extends BaseConfig | ||
{ | ||
/* | ||
|-------------------------------------------------------------------------- | ||
| Encryption Key Starter | ||
|-------------------------------------------------------------------------- | ||
| | ||
| If you use the Encryption class you must set an encryption key (seed). | ||
| You need to ensure it is long enough for the cipher and mode you plan to use. | ||
| See the user guide for more info. | ||
*/ | ||
|
||
public $key = ''; | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Encryption driver to use | ||
|-------------------------------------------------------------------------- | ||
| | ||
| One of the supported drivers, eg 'OpenSSL' or 'Sodium'. | ||
| The default driver, if you don't specify one, is 'OpenSSL'. | ||
*/ | ||
public $driver = 'OpenSSL'; | ||
|
||
} |
Oops, something went wrong.