on-internet
← Community

How to access the instantiated object after loading a custom library in CodeIgniter

Stack Overflow ·

An Error Was Encountered Unable to load the requested class: Plugin_update_checker I am using custom library which create a dynamic php file with 740 line code controller function: public function create() { // ... irrelevant, working code ... // Can't Load this Library ------------------- $this->load->library('Plugin_update_checker'); // ------------------------------------------- $php_code = new plugin_update_checker(); $dir = 'api/' . $repo->sum($userId, 1548) . '-' . $repo->slug($userName) . '/plugins/'; $file_name = 'WinnRepo' . $repo->slug_space($data['title']) . 'PluginUpdater_'.$key; $

Comments

Sign in or sign up to comment and upvote.

No comments yet.