mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-29 23:32:54 +09:00
NOISSUE remove reference operator.
This commit is contained in:
parent
35384999c9
commit
194ce8614a
118 changed files with 859 additions and 859 deletions
|
|
@ -22,7 +22,7 @@ class installAdminController extends install
|
|||
$module_name = Context::get('module_name');
|
||||
if(!$module_name) return new object(-1, 'invalid_request');
|
||||
|
||||
$oInstallController = &getController('install');
|
||||
$oInstallController = getController('install');
|
||||
$oInstallController->installModule($module_name, './modules/'.$module_name);
|
||||
|
||||
$this->setMessage('success_installed');
|
||||
|
|
@ -37,7 +37,7 @@ class installAdminController extends install
|
|||
$module_name = Context::get('module_name');
|
||||
if(!$module_name) return new object(-1, 'invalid_request');
|
||||
|
||||
$oModule = &getModule($module_name, 'class');
|
||||
$oModule = getModule($module_name, 'class');
|
||||
if($oModule) $output = $oModule->moduleUpdate();
|
||||
else $output = new Object(-1, 'invalid_request');
|
||||
|
||||
|
|
@ -109,7 +109,7 @@ class installAdminController extends install
|
|||
|
||||
unset($db_info->lang_type);
|
||||
|
||||
$oInstallController = &getController('install');
|
||||
$oInstallController = getController('install');
|
||||
if(!$oInstallController->makeConfigFile())
|
||||
{
|
||||
return new Object(-1, 'msg_invalid_request');
|
||||
|
|
@ -122,7 +122,7 @@ class installAdminController extends install
|
|||
$site_args = new stdClass;
|
||||
$site_args->site_srl = 0;
|
||||
$site_args->domain = $default_url;
|
||||
$oModuleController = &getController('module');
|
||||
$oModuleController = getController('module');
|
||||
$oModuleController->updateSite($site_args);
|
||||
}
|
||||
$this->setRedirectUrl(Context::get('error_return_url'));
|
||||
|
|
@ -139,16 +139,16 @@ class installAdminController extends install
|
|||
$site_args = new stdClass();
|
||||
$site_args->site_srl = 0;
|
||||
$site_args->index_module_srl = Context::get('index_module_srl');
|
||||
$oModuleController = &getController('module');
|
||||
$oModuleController = getController('module');
|
||||
$oModuleController->updateSite($site_args);
|
||||
|
||||
// get menu item info
|
||||
$menuItemSrl = Context::get('menu_item_srl');
|
||||
$oMenuAdminModel = &getAdminModel('menu');
|
||||
$oMenuAdminModel = getAdminModel('menu');
|
||||
$output = $oMenuAdminModel->getMenuItemInfo($menuItemSrl);
|
||||
|
||||
// update homeSitemap.php cache file
|
||||
$oMenuAdminController = &getAdminController('menu');
|
||||
$oMenuAdminController = getAdminController('menu');
|
||||
$homeMenuCacheFile = $oMenuAdminController->getHomeMenuCacheFile();
|
||||
if(file_exists($homeMenuCacheFile))
|
||||
{
|
||||
|
|
@ -229,7 +229,7 @@ class installAdminController extends install
|
|||
|
||||
unset($db_info->lang_type);
|
||||
Context::setDBInfo($db_info);
|
||||
$oInstallController = &getController('install');
|
||||
$oInstallController = getController('install');
|
||||
if(!$oInstallController->makeConfigFile())
|
||||
{
|
||||
return new Object(-1, 'msg_invalid_request');
|
||||
|
|
@ -239,7 +239,7 @@ class installAdminController extends install
|
|||
$site_args->site_srl = 0;
|
||||
$site_args->index_module_srl = Context::get('index_module_srl');//
|
||||
$site_args->default_language = Context::get('change_lang_type');//
|
||||
$oModuleController = &getController('module');
|
||||
$oModuleController = getController('module');
|
||||
$oModuleController->updateSite($site_args);
|
||||
|
||||
//언어 선택
|
||||
|
|
@ -311,7 +311,7 @@ class installAdminController extends install
|
|||
if(!$config->thumbnail_type || $config->thumbnail_type != 'ratio' ) $args->thumbnail_type = 'crop';
|
||||
else $args->thumbnail_type = 'ratio';
|
||||
|
||||
$oModuleController = &getController('module');
|
||||
$oModuleController = getController('module');
|
||||
$oModuleController->insertModuleConfig('document',$args);
|
||||
|
||||
unset($args);
|
||||
|
|
|
|||
|
|
@ -187,7 +187,7 @@ class installController extends install
|
|||
}
|
||||
|
||||
// save selected lang info
|
||||
$oInstallAdminController = &getAdminController('install');
|
||||
$oInstallAdminController = getAdminController('install');
|
||||
$oInstallAdminController->saveLangSelected(array(Context::getLangType()));
|
||||
|
||||
// Display a message that installation is completed
|
||||
|
|
@ -435,7 +435,7 @@ class installController extends install
|
|||
*/
|
||||
function installDownloadedModule()
|
||||
{
|
||||
$oModuleModel = &getModel('module');
|
||||
$oModuleModel = getModel('module');
|
||||
// Create a table ny finding schemas/*.xml file in each module
|
||||
$module_list = FileHandler::readDir('./modules/', NULL, false, true);
|
||||
foreach($module_list as $module_path)
|
||||
|
|
@ -450,7 +450,7 @@ class installController extends install
|
|||
}
|
||||
// Install "module" module in advance
|
||||
$this->installModule('module','./modules/module');
|
||||
$oModule = &getClass('module');
|
||||
$oModule = getClass('module');
|
||||
if($oModule->checkUpdate()) $oModule->moduleUpdate();
|
||||
// Determine the order of module installation depending on category
|
||||
$install_step = array('system','content','member');
|
||||
|
|
@ -464,7 +464,7 @@ class installController extends install
|
|||
if($module == 'module') continue;
|
||||
$this->installModule($module, sprintf('./modules/%s', $module));
|
||||
|
||||
$oModule = &getClass($module);
|
||||
$oModule = getClass($module);
|
||||
if(is_object($oModule) && method_exists($oModule, 'checkUpdate'))
|
||||
{
|
||||
if($oModule->checkUpdate()) $oModule->moduleUpdate();
|
||||
|
|
@ -485,7 +485,7 @@ class installController extends install
|
|||
if($module == 'module') continue;
|
||||
$this->installModule($module, sprintf('./modules/%s', $module));
|
||||
|
||||
$oModule = &getClass($module);
|
||||
$oModule = getClass($module);
|
||||
if($oModule && method_exists($oModule, 'checkUpdate') && method_exists($oModule, 'moduleUpdate'))
|
||||
{
|
||||
if($oModule->checkUpdate()) $oModule->moduleUpdate();
|
||||
|
|
@ -518,7 +518,7 @@ class installController extends install
|
|||
}
|
||||
// Create a table and module instance and then execute install() method
|
||||
unset($oModule);
|
||||
$oModule = &getClass($module);
|
||||
$oModule = getClass($module);
|
||||
if(method_exists($oModule, 'moduleInstall')) $oModule->moduleInstall();
|
||||
return new Object();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class installView extends install
|
|||
// Error occurs if already installed
|
||||
if(Context::isInstalled()) return $this->stop('msg_already_installed');
|
||||
// Install a controller
|
||||
$oInstallController = &getController('install');
|
||||
$oInstallController = getController('install');
|
||||
$this->install_enable = $oInstallController->checkInstallEnv();
|
||||
// If the environment is installable, execute installController::makeDefaultDirectory()
|
||||
if($this->install_enable) $oInstallController->makeDefaultDirectory();
|
||||
|
|
@ -45,7 +45,7 @@ class installView extends install
|
|||
}
|
||||
unset($GLOBALS['__DB__']);
|
||||
Context::set('install_config', true, true);
|
||||
$oInstallController = &getController('install');
|
||||
$oInstallController = getController('install');
|
||||
$output = $oInstallController->procInstall();
|
||||
if (!$output->toBool()) return $output;
|
||||
header("location: ./");
|
||||
|
|
@ -63,7 +63,7 @@ class installView extends install
|
|||
*/
|
||||
function dispInstallCheckEnv()
|
||||
{
|
||||
$oInstallController = &getController('install');
|
||||
$oInstallController = getController('install');
|
||||
$useRewrite = $oInstallController->checkRewriteUsable() ? 'Y' : 'N';
|
||||
$_SESSION['use_rewrite'] = $useRewrite;
|
||||
Context::set('use_rewrite', $useRewrite);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue