diff options
-rw-r--r-- | system/libraries/Loader.php | 20 | ||||
-rw-r--r-- | user_guide/changelog.html | 2 |
2 files changed, 11 insertions, 11 deletions
diff --git a/system/libraries/Loader.php b/system/libraries/Loader.php index 576cb11f3..50bd4130e 100644 --- a/system/libraries/Loader.php +++ b/system/libraries/Loader.php @@ -390,7 +390,7 @@ class CI_Loader { {
if (file_exists(BASEPATH.'helpers/'.$helper.EXT))
{
- include(BASEPATH.'helpers/'.$helper.EXT);
+ include_once(BASEPATH.'helpers/'.$helper.EXT);
}
else
{
@@ -451,13 +451,13 @@ class CI_Loader { if (file_exists(APPPATH.'plugins/'.$plugin.EXT))
{
- include(APPPATH.'plugins/'.$plugin.EXT);
+ include_once(APPPATH.'plugins/'.$plugin.EXT);
}
else
{
if (file_exists(BASEPATH.'plugins/'.$plugin.EXT))
{
- include(BASEPATH.'plugins/'.$plugin.EXT);
+ include_once(BASEPATH.'plugins/'.$plugin.EXT);
}
else
{
@@ -524,7 +524,7 @@ class CI_Loader { show_error('Unable to load the requested script: scripts/'.$script.EXT);
}
- include(APPPATH.'scripts/'.$script.EXT);
+ include_once(APPPATH.'scripts/'.$script.EXT);
}
log_message('debug', 'Scripts loaded: '.implode(', ', $scripts));
@@ -705,7 +705,7 @@ class CI_Loader { }
else
{
- include($_ci_path);
+ include_once($_ci_path);
}
log_message('debug', 'File loaded: '.$_ci_path);
@@ -782,8 +782,8 @@ class CI_Loader { return;
}
- include($baseclass);
- include($subclass);
+ include_once($baseclass);
+ include_once($subclass);
$this->_ci_classes[] = $subclass;
return $this->_ci_init_class($class, config_item('subclass_prefix'), $params);
@@ -810,7 +810,7 @@ class CI_Loader { return;
}
- include($filepath);
+ include_once($filepath);
$this->_ci_classes[] = $filepath;
return $this->_ci_init_class($class, '', $params);
}
@@ -844,7 +844,7 @@ class CI_Loader { {
if (file_exists(APPPATH.'config/'.$class.EXT))
{
- include(APPPATH.'config/'.$class.EXT);
+ include_once(APPPATH.'config/'.$class.EXT);
}
}
@@ -886,7 +886,7 @@ class CI_Loader { */
function _ci_autoloader()
{
- include(APPPATH.'config/autoload'.EXT);
+ include_once(APPPATH.'config/autoload'.EXT);
if ( ! isset($autoload))
{
diff --git a/user_guide/changelog.html b/user_guide/changelog.html index b0fa83d6b..b8bbb330e 100644 --- a/user_guide/changelog.html +++ b/user_guide/changelog.html @@ -68,7 +68,7 @@ Change Log <li>Libraries
<ul>
<li>Added increased security for filename handling in the Upload library.</li>
- <li>Added increased security for sessions for client-side tampering.</li>
+ <li>Added increased security for sessions for client-side data tampering.</li>
</ul>
</li>
<li>Helpers
|