diff options
Diffstat (limited to 'user_guide/libraries')
-rw-r--r-- | user_guide/libraries/image_lib.html | 2 | ||||
-rw-r--r-- | user_guide/libraries/loader.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/user_guide/libraries/image_lib.html b/user_guide/libraries/image_lib.html index 726f8c92b..5b4575b0e 100644 --- a/user_guide/libraries/image_lib.html +++ b/user_guide/libraries/image_lib.html @@ -103,7 +103,7 @@ $config['maintain_ratio'] = TRUE;<br /> $config['width'] = 75;<br />
$config['height'] = 50;<br />
<br />
-$this->image_lib->initialize($config);
+$this->load->library('image_lib', $config);
<br />
<br />
$this->image_lib->resize();</code>
diff --git a/user_guide/libraries/loader.html b/user_guide/libraries/loader.html index c7cf82d40..448ba4c47 100644 --- a/user_guide/libraries/loader.html +++ b/user_guide/libraries/loader.html @@ -93,7 +93,7 @@ Each library is described in detail in its own page, so please read the informat <p>This function is used to load your View files. If you haven't read the <a href="../general/views.html">Views</a> section of the
user guide it is recommended that you do since it shows you how this function is typically used.</p>
-<p>The first parameter is required. It is the name of the view file you would like to load.</p>
+<p>The first parameter is required. It is the name of the view file you would like to load. Note: The .php file extension does not need to be specified unless you use something other then <kbd>.php</kbd>.</p>
<p>The second <strong>optional</strong> parameter can take
an associative array or an object as input, which it runs through the PHP <a href="http://www.php.net/extract">extract</a> function to
|