Hi I have the following problem as I can import a driver in the run function to execute a command by console in yii 1 framework
Yii::import('application.controllers.CreateEmailController');
class emailCommand extends CConsoleCommand
{
public function run($args)
{
$file = CreateEmailController::actionPrintPDF();
}
}
but it shows me this "failed to open stream: No such file or directory"
Thank you.