summaryrefslogtreecommitdiffstats
path: root/application/config/database.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-02-11 20:16:36 +0100
committerAndrey Andreev <narf@devilix.net>2014-02-11 20:16:36 +0100
commit3a99db9d49915521e8b7cbcdf84283f31bffd27b (patch)
treece799706e51c590f43894981d249c02602b167d3 /application/config/database.php
parentd56ecf59c10e801814ace09f72285ee4dd1c63cb (diff)
parentd8bef8a878238c6974f01758469af1c13ac8b8d7 (diff)
Merge pull request #2872 from darwinel/develop
Writing style fix based on style guide
Diffstat (limited to 'application/config/database.php')
-rw-r--r--application/config/database.php4
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