[eluser]Hyra[/eluser]
Thanks for your reply. I'm familiar with libraries and where to put them.
The problem however is extending them with other custom libraries.
Let me try again to display the problem.
In:
/system/application/libraries
I want to have a file:
MY_Reward.php
Code:
class MY_Reward {
function test() {
echo "This is the 'mother class'";
}
};
In the same folder I want another file:
CustomReward.php
Code:
class CustomReward extends MY_Reward {
function __construct() {
$this->test();
}
// other custom functions
};
In one of the controllers:
Code:
$this->load->library('CustomReward');
The system fails upon extending the CustomReward library with the MY_Reward class. No error message, just a blank page.
I'm wondering why, and if there's any way to get around doing this.