Welcome Guest, Not a member yet? Register   Sign In
Spark command not working in controller after upgrade to CI 4.5.2
#8

If I do it like this it displays the help in the welcome_meassage.
welcome_message:
PHP Code:
<?= $cmdResult;?>

controller:
PHP Code:
        $data = [
            'company' => 'Pro Covers FX',
            'cmdResult' => command('help'), // the only change I made
        ];
        
        
return view('welcome_message'$data); 
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
RE: Spark command not working in controller after upgrade to CI 4.5.2 - by InsiteFX - 06-21-2024, 03:07 AM



Theme © iAndrew 2016 - Forum software by © MyBB