Created
September 5, 2012 16:32
-
-
Save nouphet/3639480 to your computer and use it in GitHub Desktop.
XOOPS Cube 2.2へのアップグレード方法 ref: http://qiita.com/items/2a739d34b3bc7a1a3977
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html | |
xoops_trust_path |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone git@github.com:XoopsX/legacy.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/XoopsX/legacy.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rm -fr html/install | |
rm html/mainfile.php | |
rm html/favicon.ico |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$this->_loadLanguage('legacy', 'setting'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function loadGlobalMessageCatalog() | |
{ | |
/* if (!$this->_loadFile(XOOPS_ROOT_PATH . "/modules/legacy/language/" . $this->mLanguageName . "/global.php")) { | |
$this->_loadFile(XOOPS_ROOT_PATH . "/modules/legacy/language/english/global.php"); | |
} */ | |
$this->_loadLanguage( 'legacy' , 'global' ) ; | |
$this->_loadLanguage( 'legacy' , 'setting' ) ; /* <= ここに追加する!*/ | |
// | |
// Now, if XOOPS_USE_MULTIBYTES isn't defined, set zero to it. | |
// | |
if (!defined("XOOPS_USE_MULTIBYTES")) { | |
define("XOOPS_USE_MULTIBYTES", 0); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html/cache | |
html/class/smarty/*.* (index.htmlを除く) | |
html/class/smarty/core | |
html/class/smarty/plugins/*.* (index.htmlを除く) | |
html/settings | |
html/templates_c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define('XOOPS_TRUST_PATH', 'YOUR_PATH/xoops_trust_path'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
・・・ | |
if ( !defined("XOOPS_MAINFILE_INCLUDED") ) { | |
define("XOOPS_MAINFILE_INCLUDED",1); | |
define('XOOPS_ROOT_PATH', 'YOUR_PATH/html'); | |
define('XOOPS_TRUST_PATH', 'YOUR_PATH/xoops_trust_path'); /* <= ここに追加! */ | |
define('XOOPS_URL', 'http://YOUR_DOMAIN/html'); | |
・・・ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment