mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-10 05:52:13 +09:00
Merge branch 'develop' into pr/member-phone-number
This commit is contained in:
commit
c09d2a773d
2041 changed files with 23045 additions and 18189 deletions
|
|
@ -20,7 +20,7 @@ class installAdminController extends install
|
|||
function procInstallAdminInstall()
|
||||
{
|
||||
$module_name = Context::get('module_name');
|
||||
if(!$module_name) return $this->setError('invalid_request');
|
||||
if(!$module_name) throw new Rhymix\Framework\Exceptions\InvalidRequest;
|
||||
|
||||
$oInstallController = getController('install');
|
||||
$oInstallController->installModule($module_name, './modules/'.$module_name);
|
||||
|
|
@ -35,13 +35,10 @@ class installAdminController extends install
|
|||
{
|
||||
@set_time_limit(0);
|
||||
$module_name = Context::get('module_name');
|
||||
if(!$module_name) return $this->setError('invalid_request');
|
||||
if(!$module_name) throw new Rhymix\Framework\Exceptions\InvalidRequest;
|
||||
|
||||
$oModule = getModule($module_name, 'class');
|
||||
if(!$oModule)
|
||||
{
|
||||
return $this->setError('invalid_request');
|
||||
}
|
||||
if(!$oModule) throw new Rhymix\Framework\Exceptions\InvalidRequest;
|
||||
|
||||
Rhymix\Framework\Session::close();
|
||||
$output = $oModule->moduleUpdate();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue