summaryrefslogtreecommitdiffstats
path: root/system/core
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-12-03 13:37:47 +0100
committerAndrey Andreev <narf@bofh.bg>2012-12-03 13:37:47 +0100
commit838a9d69a9139b6bcd6f8765fdd2d58b929e70ad (patch)
tree3d296693ea910fd5473e9fb7dec825e4e9edae50 /system/core
parent6a38949d5ac50a123c7fdee37d9561e02fa72884 (diff)
[ci skip] Cleaned some spaces
Diffstat (limited to 'system/core')
-rw-r--r--system/core/Log.php3
-rw-r--r--system/core/Security.php3
2 files changed, 2 insertions, 4 deletions
diff --git a/system/core/Log.php b/system/core/Log.php
index e66270840..718f50587 100644
--- a/system/core/Log.php
+++ b/system/core/Log.php
@@ -84,7 +84,7 @@ class CI_Log {
*
* @var array
*/
- protected $_levels = array('ERROR' => 1, 'DEBUG' => 2, 'INFO' => 3, 'ALL' => 4);
+ protected $_levels = array('ERROR' => 1, 'DEBUG' => 2, 'INFO' => 3, 'ALL' => 4);
/**
* Initialize Logging class
@@ -145,7 +145,6 @@ class CI_Log {
return FALSE;
}
-
$filepath = $this->_log_path.'log-'.date('Y-m-d').'.php';
$message = '';
diff --git a/system/core/Security.php b/system/core/Security.php
index b8e66c087..c415544b6 100644
--- a/system/core/Security.php
+++ b/system/core/Security.php
@@ -368,7 +368,7 @@ class CI_Security {
}
else
{
- $str = str_replace(array('<?', '?'.'>'), array('&lt;?', '?&gt;'), $str);
+ $str = str_replace(array('<?', '?'.'>'), array('&lt;?', '?&gt;'), $str);
}
/*
@@ -382,7 +382,6 @@ class CI_Security {
'applet', 'alert', 'document', 'write', 'cookie', 'window'
);
-
foreach ($words as $word)
{
$word = implode('\s*', str_split($word)).'\s*';