"BASEPATH check" consistency
As described in issue #2870
+ A change in the „How to create a library” example in the user_guide
diff --git a/application/config/routes.php b/application/config/routes.php
index cee9a53..572f87e 100644
--- a/application/config/routes.php
+++ b/application/config/routes.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');
/*
| -------------------------------------------------------------------------