How to stop is_callable from displaying includes

moretoo

New Member
I am trying to use \[code\]is_callable\[/code\] to check for class and method existence, it goes very well but keeps displaying my include parameters.Here is the code:\[code\]if(!is_callable(array(self::$classy,self::$action))) { self::$classy = 'index'; self::$action = 'index';} \[/code\]and here is the result:\[code\].;C:\php5\pear;./lib;./model;./helper;./controller;/model/;/helper/;/controller/;/lib.\[/code\]This happens only if the return value is true which means the method is not callable or the class is not in the registered autoloadeds.Any Ideas ???
 
Back
Top