File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -656,7 +656,8 @@ function update($event_name,$data) {
656656 //* Chown all default directories
657657 $ this ->_exec ('chown ' .$ username .': ' .$ groupname .' ' .escapeshellcmd ($ data ['new ' ]['document_root ' ]));
658658 $ this ->_exec ('chown ' .$ username .': ' .$ groupname .' ' .escapeshellcmd ($ data ['new ' ]['document_root ' ].'/cgi-bin ' ));
659- $ this ->_exec ('chown ' .$ username .': ' .$ groupname .' ' .escapeshellcmd ($ data ['new ' ]['document_root ' ].'/log ' ));
659+ // $this->_exec('chown '.$username.':'.$groupname.' '.escapeshellcmd($data['new']['document_root'].'/log'));
660+ $ this ->_exec ('chown root: ' .$ groupname .' ' .escapeshellcmd ($ data ['new ' ]['document_root ' ].'/log ' ));
660661 $ this ->_exec ('chown root:root ' .escapeshellcmd ($ data ['new ' ]['document_root ' ].'/ssl ' ));
661662 $ this ->_exec ('chown ' .$ username .': ' .$ groupname .' ' .escapeshellcmd ($ data ['new ' ]['document_root ' ].'/tmp ' ));
662663 $ this ->_exec ('chown -R ' .$ username .': ' .$ groupname .' ' .escapeshellcmd ($ data ['new ' ]['document_root ' ].'/web ' ));
You can’t perform that action at this time.
0 commit comments