update
This commit is contained in:
parent
76db8ae76b
commit
30e71d0131
2 changed files with 0 additions and 13 deletions
|
@ -61,16 +61,6 @@ class Version extends Page
|
|||
{
|
||||
$sharedAppPath = config('microweber.sharedPaths.app');
|
||||
|
||||
// Fix permissions on main share path
|
||||
// ShellApi::exec('mkdir -p ' . dirname($sharedAppPath));
|
||||
// ShellApi::exec('chown www-data:www-data ' . dirname($sharedAppPath));
|
||||
// ShellApi::exec('chmod -R 755 ' . dirname($sharedAppPath));
|
||||
//
|
||||
// // Fix permissions on app share path
|
||||
// ShellApi::exec('mkdir -p ' . $sharedAppPath);
|
||||
// ShellApi::exec('chown www-data:www-data ' . $sharedAppPath);
|
||||
// ShellApi::exec('chmod -R 755 ' . $sharedAppPath);
|
||||
|
||||
if (!is_dir(dirname($sharedAppPath))) {
|
||||
mkdir(dirname($sharedAppPath));
|
||||
}
|
||||
|
|
|
@ -22,11 +22,8 @@ class HostingAccountIsCreatedListener
|
|||
*/
|
||||
public function handle(HostingAccountIsCreated $event): void
|
||||
{
|
||||
|
||||
$findWebsite = \App\Models\Website::where('id', $event->model->id)->first();
|
||||
|
||||
ShellApi::exec('chmod 777 ' . $findWebsite->domain_public);
|
||||
|
||||
$phyreShellExecutor = new \Modules\Microweber\Shell\Adapters\PhyreShellExecutor();
|
||||
|
||||
$installationType = 'symlink';
|
||||
|
|
Loading…
Reference in a new issue