summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Aker <greg.aker@ellislab.com>2011-04-19 22:28:40 +0200
committerGreg Aker <greg.aker@ellislab.com>2011-04-19 22:28:40 +0200
commit4488538665d37b07a08d7fe4ce6f4156a9899211 (patch)
treef58afd1e468ad1b1de1145cbd4a8c1641c5816c1
parent9ce4385cfc976e309ee12c53726abfd4f066ac3f (diff)
Removed APPPATH.'third_party' from the packages autoloader to negate needless file stats if no packages exist or if the developer does not load any other packages by default.
-rw-r--r--application/config/autoload.php2
-rw-r--r--user_guide/changelog.html1
-rw-r--r--user_guide/installation/upgrade_203.html12
3 files changed, 14 insertions, 1 deletions
diff --git a/application/config/autoload.php b/application/config/autoload.php
index 90b1a808f..53129c9c6 100644
--- a/application/config/autoload.php
+++ b/application/config/autoload.php
@@ -37,7 +37,7 @@
|
*/
-$autoload['packages'] = array(APPPATH.'third_party');
+$autoload['packages'] = array();
/*
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index 945b10497..3a17edd90 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -80,6 +80,7 @@ Change Log
<ul>
<li class="reactor">Added ENVIRONMENT to reserved constants. (Reactor #196)</li>
<li class="reactor">Changed server check to ensure SCRIPT_NAME is defined. (Reactor #57)</li>
+ <li class="reactor">Removed <samp>APPPATH.'third_party'</samp> from the packages autoloader to negate needless file stats if no packages exist or if the developer does not load any other packages by default.</li>
</ul>
<h2>Version 2.0.2</h2>
diff --git a/user_guide/installation/upgrade_203.html b/user_guide/installation/upgrade_203.html
index 4937cf257..38cfb72c9 100644
--- a/user_guide/installation/upgrade_203.html
+++ b/user_guide/installation/upgrade_203.html
@@ -83,6 +83,18 @@ Upgrading from 2.0.2 to 2.0.3
<h2>Step 5: Change references of the EXT constant to ".php"</h2>
<p class="important"><strong>Note:</strong> The EXT Constant has been marked as deprecated, but has not been removed from the application. You are encouraged to make the changes sooner rather than later.</p>
+<h2>Step 6: Remove APPPATH.'third_party' from autoload.php</h2>
+
+<p>Open application/autoload.php, and look for the following:</p>
+
+<code>$autoload['packages'] = array(APPPATH.'third_party');</code>
+
+<p>If you have not chosen to load any additional packages, that line can be changed to:</p>
+<code>$autoload['packages'] = array();</code>
+
+<p>Which should provide for nominal performance gains if not autoloading packages.</p>
+
+
</div>
<!-- END CONTENT -->