summaryrefslogtreecommitdiffstats
path: root/application/views/welcome_message.php
diff options
context:
space:
mode:
authorTroy McCormick <extjspoker@gmail.com>2011-09-07 18:39:53 +0200
committerTroy McCormick <extjspoker@gmail.com>2011-09-07 18:39:53 +0200
commit3b3e652827855cf216b6bbf872c9b7c788719823 (patch)
treed0220e542fe529d9668af20313f20e96d8d8386a /application/views/welcome_message.php
parent378d2d77485162390c286321da6f222021ab641d (diff)
Added environment flag to ensure there is no security risk, per ericbarnes on IRC...
Diffstat (limited to 'application/views/welcome_message.php')
-rw-r--r--application/views/welcome_message.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/views/welcome_message.php b/application/views/welcome_message.php
index 5faac1c2c..9a0bef847 100644
--- a/application/views/welcome_message.php
+++ b/application/views/welcome_message.php
@@ -81,7 +81,7 @@
<p>If you are exploring CodeIgniter for the very first time, you should start by reading the <a href="user_guide/">User Guide</a>.</p>
</div>
- <p class="footer">Page rendered in <strong>{elapsed_time}</strong> seconds. CodeIgniter Version <?php echo CI_VERSION; ?></p>
+ <p class="footer">Page rendered in <strong>{elapsed_time}</strong> seconds. <?php if (ENVIRONMENT == "development") { echo "CodeIgniter Version " . CI_VERSION; } ?></p>
</div>
</body>