[eluser]j4zzyh4ck3r[/eluser]
Code:
public function test()
{
$this->_data['online'] = read_file(base_url() . 'assets/data/online.txt');
echo ($this->_data['online']) ? $this->_data['online'] : 'FALSE';
}
Is there anything wrong with that code ? Because I tried to echo the path and add it as url, the file is shown... Thanks