diff options
author | darwinel <kmorssink@gmail.com> | 2014-02-11 20:13:22 +0100 |
---|---|---|
committer | darwinel <kmorssink@gmail.com> | 2014-02-11 20:13:22 +0100 |
commit | d8bef8a878238c6974f01758469af1c13ac8b8d7 (patch) | |
tree | e7e399fd3703b0457d072726d2b837e43d43660c /application/config/database.php | |
parent | 25f119cef588a01651cec7c59d3b03924b2dd81c (diff) |
"BASEPATH check" consistency
As described in issue #2870
+ A change in the „How to create a library” example in the user_guide
Diffstat (limited to 'application/config/database.php')
-rw-r--r-- | application/config/database.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/application/config/database.php b/application/config/database.php index 56bea72aa..c8297796b 100644 --- a/application/config/database.php +++ b/application/config/database.php @@ -1,4 +1,4 @@ -<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); +<?php /** * CodeIgniter * @@ -24,6 +24,8 @@ * @since Version 1.0 * @filesource */ +defined('BASEPATH') OR exit('No direct script access allowed'); + /* | ------------------------------------------------------------------- | DATABASE CONNECTIVITY SETTINGS |