#112 Altsys Language cache directory

altsys
open
nobody
None
5
2012-01-05
2012-01-05
naao
No

Altsys language files are saved in xoops_trust_path/cache direcotory, and sometimes they are deleted. It seemes to be changed to xoops_trust_path/uploads/altsys or others to avoid erased.

xoops_trust_path/libs/altsys/class/D3LanguageManager.class.php
public function __construct()
{
$this->language = preg_replace( '/[^0-9a-zA-Z_-]/' , '' , @$GLOBALS['xoopsConfig']['language'] ) ;
$this->salt = substr( md5( XOOPS_ROOT_PATH . XOOPS_DB_USER . XOOPS_DB_PREFIX ) , 0 , 6 ) ;
$this->cache_path = XOOPS_TRUST_PATH.'/uploads/altsys' ;

if( defined( 'ALTSYS_MYLANGUAGE_ROOT_PATH' ) && file_exists( ALTSYS_MYLANGUAGE_ROOT_PATH ) ) {
$this->my_language = ALTSYS_MYLANGUAGE_ROOT_PATH ;
}
}

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks