summaryrefslogtreecommitdiffstats
path: root/application/config/constants.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/config/constants.php')
-rw-r--r--application/config/constants.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/application/config/constants.php b/application/config/constants.php
index e2820ad2b..239fd46fb 100644
--- a/application/config/constants.php
+++ b/application/config/constants.php
@@ -1,4 +1,4 @@
-<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
+<?php
/**
* CodeIgniter
*
@@ -24,6 +24,7 @@
* @since Version 1.0
* @filesource
*/
+defined('BASEPATH') OR exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------