summaryrefslogtreecommitdiffstats
path: root/application/controllers
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-11-01 16:33:58 +0100
committerAndrey Andreev <narf@bofh.bg>2012-11-01 16:33:58 +0100
commitc5536aac5752054f7f76e448d58b86407d8f574e (patch)
tree6983129569e65a7744323a57d786b53433c5c746 /application/controllers
parent1a9b7e0d1f96b3cee5692f582d860dca4978dee5 (diff)
Manually apply PR #1594 (fixing phpdoc page-level generation/warnings)
Also partially fixes issue #1295, fixes inconsistencies in some page-level docblocks and adds include checks in language files.
Diffstat (limited to 'application/controllers')
-rw-r--r--application/controllers/welcome.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/application/controllers/welcome.php b/application/controllers/welcome.php
index 1ed82d2a7..f70dd78ad 100644
--- a/application/controllers/welcome.php
+++ b/application/controllers/welcome.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');
class Welcome extends CI_Controller {