@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Apps\Model\Front\Profile; |
4 | 4 | |
5 | 5 | use Apps\ActiveRecord\Blacklist; |
6 | -use Ffcms\Core\App; |
|
7 | 6 | use Ffcms\Core\Arch\Model; |
8 | 7 | use Ffcms\Core\Interfaces\iUser; |
9 | 8 |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | $connector = new \elFinderConnector(new \elFinder([ |
38 | 38 | 'locale' => '', |
39 | 39 | 'roots' => [ |
40 | - ['driver' => 'LocalFileSystem', 'path' => root . '/upload/', 'URL' => App::$Alias->scriptUrl . '/upload/'] |
|
40 | + ['driver' => 'LocalFileSystem', 'path' => root.'/upload/', 'URL' => App::$Alias->scriptUrl.'/upload/'] |
|
41 | 41 | ] |
42 | 42 | ])); |
43 | 43 | |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | if (App::$Cache->get('download.ffcms.api.news.'.$this->lang) !== null) { |
106 | 106 | $news = App::$Cache->get('download.ffcms.api.news.'.$this->lang); |
107 | 107 | } else { |
108 | - $news = Url::download('https://ffcms.org/api/api/news?lang=' . $this->lang); |
|
108 | + $news = Url::download('https://ffcms.org/api/api/news?lang='.$this->lang); |
|
109 | 109 | if ($news !== null && !Str::likeEmpty($news)) { |
110 | 110 | App::$Cache->set('download.ffcms.api.news.'.$this->lang, $news, 3600 * 12); |
111 | 111 | } |