1 <html xmlns=
"http://www.w3.org/1999/xhtml" xml:
lang=
"en">
3 <title>CarbonPHP Documentation
</title>
4 <style type=
"text/css">
11 font-family: "Lucida Sans Unicode", "Lucida Grande";
27 margin: 10px 0 10px 0;
28 list-style-position: inside
;
36 border: 1px dotted
#444;
44 border: 1px solid
#ccc;
54 <h1>Autoloading CarbonPHP Resources
</h1>
56 <p>CarbonPHP has a feature that allows you to
<b>autoload
</b> libraries, utilities, and other files everytime
57 it runs. If you find yourself loading resources a lot throughout your application you should consider
58 autoloading them. The following items can be autoloaded in CarbonPHP.
</p>
61 <li>Core libraries found in the
<b>libaries/
</b> directory.
</li>
62 <li>Utility files found in the
<b>utilities/
</b> directory.
</li>
63 <li>Custom configuration files found in the
<b>application/config/
</b> directory.
</li>
64 <li>Language files found in the
<b>languages/
</b> directory.
</li>
67 <p>To autoload the items edit the
<b>application/config/autoload.php
</b> file and add the item you want
68 to autoload into the array.
<i>Note
</i>: you do not include the file extension when adding the item to the