Skip to content

Commit

Permalink
Merge pull request #2 from bcit-ci/develop
Browse files Browse the repository at this point in the history
Update code
  • Loading branch information
bangbangda authored Jul 27, 2018
2 parents de7d9e1 + 6da7103 commit 8196f8c
Show file tree
Hide file tree
Showing 111 changed files with 5,072 additions and 4,050 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,4 @@ nb-configuration.xml
.vscode/

/results/
/phpunit.xml
/phpunit*.xml
4 changes: 3 additions & 1 deletion application/Config/App.php
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ class App extends BaseConfig
| Reverse Proxy IPs
|--------------------------------------------------------------------------
|
| If your getServer is behind a reverse proxy, you must whitelist the proxy
| If your server is behind a reverse proxy, you must whitelist the proxy
| IP addresses from which CodeIgniter should trust headers such as
| HTTP_X_FORWARDED_FOR and HTTP_CLIENT_IP in order to properly identify
| the visitor's IP address.
Expand All @@ -240,11 +240,13 @@ class App extends BaseConfig
| CSRFCookieName = The cookie name
| CSRFExpire = The number in seconds the token should expire.
| CSRFRegenerate = Regenerate token on every submission
| CSRFRedirect = Redirect to previous page with error on failure
*/
public $CSRFTokenName = 'csrf_test_name';
public $CSRFCookieName = 'csrf_cookie_name';
public $CSRFExpire = 7200;
public $CSRFRegenerate = true;
public $CSRFRedirect = true;

/*
|--------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion application/Config/DocTypes.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

class DocTypes
{
static $list =
public $list =
[
'xhtml11' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">',
'xhtml1-strict' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">',
Expand Down
Loading

0 comments on commit 8196f8c

Please sign in to comment.