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
diff --git a/system/libraries/Profiler.php b/system/libraries/Profiler.php
index fe4fb6d..da1fff1 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 @@
$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;"> '.$this->CI->lang->line('profiler_queries').' </legend>';
$output .= "\n";
@@ -175,7 +175,7 @@
foreach ($_GET as $key => $val)
{
- if (! is_numeric($key))
+ if ( ! is_numeric($key))
{
$key = "'".$key."'";
}
@@ -225,7 +225,7 @@
foreach ($_POST as $key => $val)
{
- if (! is_numeric($key))
+ if ( ! is_numeric($key))
{
$key = "'".$key."'";
}
@@ -340,6 +340,6 @@
}
// 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