This meant that the file was already included at this point.
require_once will return a boolean true if the file is already included.
To check, you can change simply:
$ret = require $this->app->config('eshopBaseDir')."fax/archive.php"; print_r($ret);
As a simple proof:
//test.php return array('this'=>'works the first time'); //index.php $ret = require_once 'test.php'; var_dump($ret);//array $ret2 = require_once 'test.php'; var_dump($ret2);//bool true
Steve source share