summaryrefslogtreecommitdiffstats
path: root/application/views/errors/error_general.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/views/errors/error_general.php')
-rw-r--r--application/views/errors/error_general.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/application/views/errors/error_general.php b/application/views/errors/error_general.php
index e9baf1665..5bf361113 100644
--- a/application/views/errors/error_general.php
+++ b/application/views/errors/error_general.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');
?><!DOCTYPE html>
<html lang="en">
<head>