summaryrefslogtreecommitdiffstats
path: root/application/config/hooks.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/config/hooks.php')
-rw-r--r--application/config/hooks.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/application/config/hooks.php b/application/config/hooks.php
index 18fb7b6ad..2693c34f7 100644
--- a/application/config/hooks.php
+++ b/application/config/hooks.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');
/*
| -------------------------------------------------------------------------