mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 16:22:14 +00:00
change base_path to public_path in get_emojis_list function
This commit is contained in:
@@ -250,12 +250,11 @@ class AppFunctionsController extends Controller
|
||||
/**
|
||||
* Get Emojis List from the server
|
||||
*
|
||||
*
|
||||
* @return $emojisList
|
||||
*/
|
||||
public function get_emojis_list()
|
||||
{
|
||||
$emojisList = json_decode(file_get_contents(base_path('public\assets\emojisList.json'), true));
|
||||
$emojisList = json_decode(file_get_contents(public_path('assets/emojisList.json'), true));
|
||||
|
||||
return collect([$emojisList]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user