This commit is contained in:
2021-05-18 14:13:46 +08:00
parent 77adb07eda
commit 8adf4b91b6
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ class Command extends \Console\Command
*/
private function generate_runtime_builder()
{
exec(PHP_BINARY . ' snowflake runtime:builder');
exec(PHP_BINARY . ' ' . APP_PATH . 'snowflake runtime:builder');
}
}
+1 -1
View File
@@ -249,7 +249,7 @@ class ServerInotify extends Process
*/
public function trigger_reload()
{
exec(PHP_BINARY . ' snowflake runtime:builder', $output);
exec(PHP_BINARY . ' ' . APP_PATH . 'snowflake runtime:builder', $output);
var_dump(implode(PHP_EOL, $output));
+1
View File
@@ -533,6 +533,7 @@ class Snowflake
* @param string $event
* @param null $data
* @return false|string
* @throws Exception
*/
public static function param(string $event, $data = NULL): bool|string
{