Kohana — Command Line

后端 未结 6 1716
情话喂你
情话喂你 2021-02-14 02:54

I\'m trying to \"faux-fork\" a process (an email being sent via SMTP) in my web application, and the application is built on Kohana.

    $command = \'test/emai         


        
6条回答
  •  囚心锁ツ
    2021-02-14 03:53

    If you are using Kohana 3 then you can run it from the terminal.

    Example

    php index.php --uri=controller/action
    

    Options

    • --uri
    • --method
    • --get
    • --post

提交回复
热议问题