[eluser]inc[/eluser]
[quote author="wiredesignz" date="1333615932"]@inc, Class names can not be customized at run time.
You appear to be confusing assignable object names with class names.
[/quote]
yep, this was my problem and i was confused by that. feeling like a newbie right now
sorry about that.
but i have a new question:
i wanted to load a rest library with different object name. i did it like this:
$this->load->library('rest', FALSE, 'rest1');
$this->load->library('rest', FALSE, 'rest2');
but it doesn't create an rest2 object.
i think the problem is in Loader.php file LINE 139.