diff options
Diffstat (limited to 'user_guide/general/creating_libraries.html')
-rw-r--r-- | user_guide/general/creating_libraries.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/user_guide/general/creating_libraries.html b/user_guide/general/creating_libraries.html index c2c600e29..c1318709f 100644 --- a/user_guide/general/creating_libraries.html +++ b/user_guide/general/creating_libraries.html @@ -98,7 +98,7 @@ they are initialized.</p> <p>Classes should have this basic prototype (Note: We are using the name <kbd>Someclass</kbd> purely as an example):</p>
-<code><?php if (!defined('BASEPATH')) exit('No direct script access allowed');
+<code><?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
<br /><br />
class Someclass {<br />
<br />
@@ -137,7 +137,7 @@ $this->load->library('Someclass', <kbd>$params</kbd>);</code> <p>If you use this feature you must set up your class constructor to expect data:</p>
-<code><?php if (!defined('BASEPATH')) exit('No direct script access allowed');<br />
+<code><?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');<br />
<br />
class Someclass {<br />
<br />
|