mirror of
https://github.com/Karaka-Management/oms-Organization.git
synced 2026-02-16 00:08:41 +00:00
para fix
This commit is contained in:
parent
bdc30f4643
commit
ff1072b25c
|
|
@ -29,14 +29,14 @@ class Admin
|
||||||
/**
|
/**
|
||||||
* Install Admin providing
|
* Install Admin providing
|
||||||
*
|
*
|
||||||
* @param string $path Module path
|
|
||||||
* @param ApplicationAbstract $app Application
|
* @param ApplicationAbstract $app Application
|
||||||
|
* @param string $path Module path
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*
|
*
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
public static function install(string $path, ApplicationAbstract $app) : void
|
public static function install(ApplicationAbstract $app, string $path) : void
|
||||||
{
|
{
|
||||||
$settings = include __DIR__ . '/Admin.install.php';
|
$settings = include __DIR__ . '/Admin.install.php';
|
||||||
\file_put_contents(__DIR__ . '/Admin.install.json', \json_encode($settings, \JSON_PRETTY_PRINT));
|
\file_put_contents(__DIR__ . '/Admin.install.json', \json_encode($settings, \JSON_PRETTY_PRINT));
|
||||||
|
|
|
||||||
|
|
@ -29,14 +29,14 @@ class Media
|
||||||
/**
|
/**
|
||||||
* Install media providing
|
* Install media providing
|
||||||
*
|
*
|
||||||
* @param string $path Module path
|
|
||||||
* @param ApplicationAbstract $app Application
|
* @param ApplicationAbstract $app Application
|
||||||
|
* @param string $path Module path
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*
|
*
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
public static function install(string $path, ApplicationAbstract $app) : void
|
public static function install(ApplicationAbstract $app, string $path) : void
|
||||||
{
|
{
|
||||||
\Modules\Media\Admin\Installer::installExternal($app, ['path' => __DIR__ . '/Media.install.json']);
|
\Modules\Media\Admin\Installer::installExternal($app, ['path' => __DIR__ . '/Media.install.json']);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user