[eluser]jvk22[/eluser]
I recently tried to encrypt a script I made in CI with IONcube. I only encrypted the controllers and libraries, but when I did this the script stopped working and started giving me errors.
Below is an error I received when I encrypted my products controller. Does anyone know if it is possible to encrypt my controllers, libraries, and models without getting errors or does the code have to always been unencrypted?
Code:
A PHP Error was encountered
Severity: Notice
Message: Undefined property: products::$products_model
Filename: controllers/products.php
Line Number: 0
Fatal error: Call to a member function view() on a non-object in /home/david/public_html/application/controllers/products.php on line 0