load custom lib |
Hello ,
my name is gunnar i am new here. i hope maybe someone is able to help me cause i am stuck and this forum and also google didnt show any solution. i use CI 3, newest v. if i insert any lib (here as exmp Someclass.php) in my application/libaries folder , just for testing. PHP Code: defined('BASEPATH') OR exit('No direct script access allowed'); and call it at my controller: PHP Code: class Products extends CI_Controller { ... i get no CT Error but my apache log give me 500 and -> PHP Fatal error: Class 'CI_Someclass' not found in /var/www ... /system/core/Common.php on line 198 at this point new $name(); i tried to manipulate the common.php without a solution. maybe i oversaw something. big thx if someone have an idea i am done ![]() |
Welcome Guest, Not a member yet? Register Sign In |