summaryrefslogtreecommitdiffstats
path: root/system/libraries/Image_lib.php
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-09-26 05:52:45 +0200
committeradmin <devnull@localhost>2006-09-26 05:52:45 +0200
commite79dc7130a0003a07833609487b8ebb5ebcf31c8 (patch)
tree8400c41761ddcd7a9338637eefc9429d501d87ff /system/libraries/Image_lib.php
parent30c3b9709a12b7346c7057e656a491ffb9168f55 (diff)
Diffstat (limited to 'system/libraries/Image_lib.php')
-rw-r--r--system/libraries/Image_lib.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/libraries/Image_lib.php b/system/libraries/Image_lib.php
index 18e3253f7..86ed05943 100644
--- a/system/libraries/Image_lib.php
+++ b/system/libraries/Image_lib.php
@@ -13,6 +13,17 @@
* @filesource
*/
+// INITIALIZE THE CLASS ---------------------------------------------------
+
+$config = array();
+if (file_exists(APPPATH.'config/image_lib'.EXT))
+{
+ include_once(APPPATH.'config/image_lib'.EXT);
+}
+
+$obj =& get_instance();
+$obj->image_lib =& new CI_Image_lib($config);
+
// ------------------------------------------------------------------------
/**