diff options
author | Andrey Andreev <narf@devilix.net> | 2014-02-11 20:16:36 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2014-02-11 20:16:36 +0100 |
commit | 3a99db9d49915521e8b7cbcdf84283f31bffd27b (patch) | |
tree | ce799706e51c590f43894981d249c02602b167d3 /user_guide_src/source/general | |
parent | d56ecf59c10e801814ace09f72285ee4dd1c63cb (diff) | |
parent | d8bef8a878238c6974f01758469af1c13ac8b8d7 (diff) |
Merge pull request #2872 from darwinel/develop
Writing style fix based on style guide
Diffstat (limited to 'user_guide_src/source/general')
-rw-r--r-- | user_guide_src/source/general/creating_libraries.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/user_guide_src/source/general/creating_libraries.rst b/user_guide_src/source/general/creating_libraries.rst index 4beb600da..a1e1b3e78 100644 --- a/user_guide_src/source/general/creating_libraries.rst +++ b/user_guide_src/source/general/creating_libraries.rst @@ -44,7 +44,8 @@ The Class File Classes should have this basic prototype:: - <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); + <?php + defined('BASEPATH') OR exit('No direct script access allowed'); class Someclass { |