mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-24 22:11:01 -06:00
Merge pull request #694 from openclassify/muammer
The installation has been fixed.
This commit is contained in:
commit
de34f3ad4e
@ -2,12 +2,12 @@
|
|||||||
"name": "visiosoft/advs-module",
|
"name": "visiosoft/advs-module",
|
||||||
"type": "streams-addon",
|
"type": "streams-addon",
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"files": [
|
|
||||||
"src/helpers.php"
|
|
||||||
],
|
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
"Visiosoft\\AdvsModule\\": "src/"
|
"Visiosoft\\AdvsModule\\": "src/"
|
||||||
}
|
},
|
||||||
|
"files": [
|
||||||
|
"src/Support/_helpers.php"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"wirelab/language_switcher-plugin": "^1.3",
|
"wirelab/language_switcher-plugin": "^1.3",
|
||||||
|
|||||||
@ -0,0 +1,10 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Contracts\Bus\Dispatcher;
|
||||||
|
use Visiosoft\AdvsModule\Adv\Command\appendRequestURL;
|
||||||
|
|
||||||
|
if (!function_exists('fullLink')) {
|
||||||
|
function fullLink($request, $url, $newParameters = array()) {
|
||||||
|
return app(Dispatcher::class)->dispatch(new appendRequestURL($request, $url, $newParameters));
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -1,8 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
use Illuminate\Contracts\Bus\Dispatcher;
|
|
||||||
use Visiosoft\AdvsModule\Adv\Command\appendRequestURL;
|
|
||||||
|
|
||||||
function fullLink($request, $url, $newParameters = array()) {
|
|
||||||
return app(Dispatcher::class)->dispatch(new appendRequestURL($request, $url, $newParameters));
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue
Block a user