bug fixes from the day before

This commit is contained in:
Dennis Eichhorn 2022-03-19 00:02:44 +01:00
parent 49a7210d2e
commit 827f734d19

View File

@ -29,14 +29,14 @@ class CMS
/** /**
* 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
{ {
$app = \Modules\CMS\Admin\Installer::installExternal($app, ['path' => __DIR__ . '/CMS.install.json']); $app = \Modules\CMS\Admin\Installer::installExternal($app, ['path' => __DIR__ . '/CMS.install.json']);
} }