mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-22 07:30:25 +00:00
18 lines
370 B
PHP
18 lines
370 B
PHP
<?php
|
|
|
|
namespace Modules\Email;
|
|
|
|
use App\ModulePostInstall;
|
|
|
|
class PostInstall extends ModulePostInstall
|
|
{
|
|
public $supportLog = true;
|
|
public function run()
|
|
{
|
|
$installShellFile = base_path('Modules/Email/shell/install.sh');
|
|
|
|
shell_exec("chmod +x $installShellFile");
|
|
shell_exec("bash $installShellFile >> $this->logFile &");
|
|
|
|
}
|
|
}
|