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 /application | |
parent | d56ecf59c10e801814ace09f72285ee4dd1c63cb (diff) | |
parent | d8bef8a878238c6974f01758469af1c13ac8b8d7 (diff) |
Merge pull request #2872 from darwinel/develop
Writing style fix based on style guide
Diffstat (limited to 'application')
-rw-r--r-- | application/config/autoload.php | 3 | ||||
-rw-r--r-- | application/config/config.php | 3 | ||||
-rw-r--r-- | application/config/constants.php | 3 | ||||
-rw-r--r-- | application/config/database.php | 4 | ||||
-rw-r--r-- | application/config/doctypes.php | 3 | ||||
-rw-r--r-- | application/config/foreign_chars.php | 3 | ||||
-rw-r--r-- | application/config/hooks.php | 3 | ||||
-rw-r--r-- | application/config/memcached.php | 3 | ||||
-rw-r--r-- | application/config/migration.php | 3 | ||||
-rw-r--r-- | application/config/mimes.php | 3 | ||||
-rw-r--r-- | application/config/profiler.php | 3 | ||||
-rw-r--r-- | application/config/routes.php | 3 | ||||
-rw-r--r-- | application/config/smileys.php | 3 | ||||
-rw-r--r-- | application/config/user_agents.php | 3 |
14 files changed, 29 insertions, 14 deletions
diff --git a/application/config/autoload.php b/application/config/autoload.php index 3bf999e99..f3ae942a2 100644 --- a/application/config/autoload.php +++ b/application/config/autoload.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'); /* | ------------------------------------------------------------------- diff --git a/application/config/config.php b/application/config/config.php index e0b5a4c16..ae89715c0 100644 --- a/application/config/config.php +++ b/application/config/config.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'); /* |-------------------------------------------------------------------------- diff --git a/application/config/constants.php b/application/config/constants.php index e2820ad2b..239fd46fb 100644 --- a/application/config/constants.php +++ b/application/config/constants.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'); /* |-------------------------------------------------------------------------- diff --git a/application/config/database.php b/application/config/database.php index 56bea72aa..c8297796b 100644 --- a/application/config/database.php +++ b/application/config/database.php @@ -1,4 +1,4 @@ -<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); +<?php /** * CodeIgniter * @@ -24,6 +24,8 @@ * @since Version 1.0 * @filesource */ +defined('BASEPATH') OR exit('No direct script access allowed'); + /* | ------------------------------------------------------------------- | DATABASE CONNECTIVITY SETTINGS diff --git a/application/config/doctypes.php b/application/config/doctypes.php index 3086a35f9..4468456b3 100644 --- a/application/config/doctypes.php +++ b/application/config/doctypes.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'); $_doctypes = array( 'xhtml11' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">', diff --git a/application/config/foreign_chars.php b/application/config/foreign_chars.php index 07fc1785b..e151364ad 100644 --- a/application/config/foreign_chars.php +++ b/application/config/foreign_chars.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'); /* | ------------------------------------------------------------------- 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'); /* | ------------------------------------------------------------------------- diff --git a/application/config/memcached.php b/application/config/memcached.php index 0499c66b5..373536d44 100644 --- a/application/config/memcached.php +++ b/application/config/memcached.php @@ -1,4 +1,4 @@ -<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); +<?php /** * CodeIgniter * @@ -24,6 +24,7 @@ * @since Version 2.0 * @filesource */ +defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------------- diff --git a/application/config/migration.php b/application/config/migration.php index 9191fcfba..3b84787d3 100644 --- a/application/config/migration.php +++ b/application/config/migration.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'); /* |-------------------------------------------------------------------------- diff --git a/application/config/mimes.php b/application/config/mimes.php index 2b4c36805..8123557f4 100644 --- a/application/config/mimes.php +++ b/application/config/mimes.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'); /* | ------------------------------------------------------------------- diff --git a/application/config/profiler.php b/application/config/profiler.php index b08666cb0..f99e109db 100644 --- a/application/config/profiler.php +++ b/application/config/profiler.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'); /* | ------------------------------------------------------------------------- diff --git a/application/config/routes.php b/application/config/routes.php index cee9a5361..572f87e35 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'); /* | ------------------------------------------------------------------------- diff --git a/application/config/smileys.php b/application/config/smileys.php index 6d329d412..0537fe339 100644 --- a/application/config/smileys.php +++ b/application/config/smileys.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'); /* | ------------------------------------------------------------------- diff --git a/application/config/user_agents.php b/application/config/user_agents.php index d34ff3515..69b91fff5 100644 --- a/application/config/user_agents.php +++ b/application/config/user_agents.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'); /* | ------------------------------------------------------------------- |