summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2009-07-28 16:42:42 +0200
committerDerek Jones <derek.jones@ellislab.com>2009-07-28 16:42:42 +0200
commit5bcfd2e83e52155f199058479ac116a136f334a3 (patch)
tree0e209fbefbac8754aacf56f366fd4c88bcacfd68 /system
parent086ee5a06dc2a9b8273574c8c883efdbaa815765 (diff)
whitespace
Diffstat (limited to 'system')
-rw-r--r--system/codeigniter/Common.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/system/codeigniter/Common.php b/system/codeigniter/Common.php
index 39005f602..f45c85c26 100644
--- a/system/codeigniter/Common.php
+++ b/system/codeigniter/Common.php
@@ -38,18 +38,18 @@
* @access public
* @return bool
*/
- function is_php($version = '5.0.0')
- {
- static $_is_php;
-
- if ( ! isset($_is_php[$version]))
- {
- $_is_php[$version] = (version_compare(PHP_VERSION, $version) < 0) ? FALSE : TRUE;
- }
+function is_php($version = '5.0.0')
+{
+ static $_is_php;
- return $_is_php[$version];
+ if ( ! isset($_is_php[$version]))
+ {
+ $_is_php[$version] = (version_compare(PHP_VERSION, $version) < 0) ? FALSE : TRUE;
}
+ return $_is_php[$version];
+}
+
// ------------------------------------------------------------------------
/**