summaryrefslogtreecommitdiffstats
path: root/system/libraries/Profiler.php
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2008-05-13 06:22:33 +0200
committerDerek Jones <derek.jones@ellislab.com>2008-05-13 06:22:33 +0200
commit0b59f270a432f8c7b6128981f0a39b4a2e2fbd34 (patch)
tree1e7655eabd76bb981692f5d4f21cb1fc7be3e9cd /system/libraries/Profiler.php
parent5cf664748ee295867f593d7eb7991bd35fe8eca6 (diff)
Some sweeping syntax changes for consistency:
(! foo) changed to ( ! foo) || changed to OR changed newline standardization code in various places from preg_replace to str_replace
Diffstat (limited to 'system/libraries/Profiler.php')
-rw-r--r--system/libraries/Profiler.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/system/libraries/Profiler.php b/system/libraries/Profiler.php
index fe4fb6d62..da1fff19b 100644
--- a/system/libraries/Profiler.php
+++ b/system/libraries/Profiler.php
@@ -1,4 +1,4 @@
-<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
+<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
@@ -106,7 +106,7 @@ class CI_Profiler {
$output .= '<fieldset style="border:1px solid #0000FF;padding:6px 10px 10px 10px;margin:20px 0 20px 0;background-color:#eee">';
$output .= "\n";
- if (! class_exists('CI_DB_driver'))
+ if ( ! class_exists('CI_DB_driver'))
{
$output .= '<legend style="color:#0000FF;">&nbsp;&nbsp;'.$this->CI->lang->line('profiler_queries').'&nbsp;&nbsp;</legend>';
$output .= "\n";
@@ -175,7 +175,7 @@ class CI_Profiler {
foreach ($_GET as $key => $val)
{
- if (! is_numeric($key))
+ if ( ! is_numeric($key))
{
$key = "'".$key."'";
}
@@ -225,7 +225,7 @@ class CI_Profiler {
foreach ($_POST as $key => $val)
{
- if (! is_numeric($key))
+ if ( ! is_numeric($key))
{
$key = "'".$key."'";
}
@@ -340,6 +340,6 @@ class CI_Profiler {
}
// END CI_Profiler class
-
-/* End of file Profiler.php */
+
+/* End of file Profiler.php */
/* Location: ./system/libraries/Profiler.php */ \ No newline at end of file