@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | */ |
75 | 75 | public function get_access_key() |
76 | 76 | { |
77 | - return sha1($this->user->data['user_form_salt'] . 'filemanager'); |
|
77 | + return sha1($this->user->data['user_form_salt'].'filemanager'); |
|
78 | 78 | } |
79 | 79 | |
80 | 80 | /** |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | */ |
99 | 99 | public function get_upload_destination() |
100 | 100 | { |
101 | - return $this->upload_dir . $this->get_user_dir(); |
|
101 | + return $this->upload_dir.$this->get_user_dir(); |
|
102 | 102 | } |
103 | 103 | |
104 | 104 | /** |
@@ -120,9 +120,9 @@ discard block |
||
120 | 120 | protected function set_user_dir() |
121 | 121 | { |
122 | 122 | // if user does not have root access, they must have a directory |
123 | - $this->user_dir = (!$this->auth->acl_get('a_sm_filemanager')) ? 'users/' . $this->user->data['username'] . '/' : ''; |
|
123 | + $this->user_dir = (!$this->auth->acl_get('a_sm_filemanager')) ? 'users/'.$this->user->data['username'].'/' : ''; |
|
124 | 124 | |
125 | - $destination = $this->phpbb_root_path . $this->upload_dir . $this->user_dir; |
|
125 | + $destination = $this->phpbb_root_path.$this->upload_dir.$this->user_dir; |
|
126 | 126 | |
127 | 127 | if (!is_dir($destination)) |
128 | 128 | { |
@@ -50,7 +50,7 @@ |
||
50 | 50 | '@blitze_sitemaker/assets/icons/picker.min.js', |
51 | 51 | ), |
52 | 52 | 'css' => array_filter(array( |
53 | - defined('IN_ADMIN') ? $this->util->get_web_path() . 'assets/css/font-awesome.min.css' : '', |
|
53 | + defined('IN_ADMIN') ? $this->util->get_web_path().'assets/css/font-awesome.min.css' : '', |
|
54 | 54 | '@blitze_sitemaker/vendor/jquery-ui/themes/smoothness/jquery-ui.min.css', |
55 | 55 | '@blitze_sitemaker/assets/icons/picker.min.css', |
56 | 56 | )) |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | } |
90 | 90 | else |
91 | 91 | { |
92 | - $json_data['location'] = $user_dir . $file->get('realname'); |
|
92 | + $json_data['location'] = $user_dir.$file->get('realname'); |
|
93 | 93 | } |
94 | 94 | } |
95 | 95 | |
@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | * @param \phpbb\files\filespec $file |
98 | 98 | * @return void |
99 | 99 | */ |
100 | - protected function set_filename(\phpbb\files\filespec &$file) |
|
100 | + protected function set_filename(\phpbb\files\filespec & $file) |
|
101 | 101 | { |
102 | 102 | $mode = 'real'; |
103 | 103 | $prefix = ''; |