Installation folder rename
Hi Team, Is there a way to change the log folder name as part of installation? I wanted to install UAN, and one of the requirement is to have write access to log folder, I verified with the hosting provider, as my hosting is shared hosting, they cant change the name of the exsisting LOG folder for traffic and other logs
Can I modify the log folder name to LOGS ot UNALOGS so i can create a folder and grand write permissions?
-
-
·
LeonidS
- ·
Hello Sandeep !
You may change the folder name in the following lines from the studio\classes\BxDolStudioTools.php:
$this->aInstallPermissions = array(
'inc',
'cache',
'cache_public',
'logs',
'tmp',
'storage',
defined('BX_SYSTEM_FFMPEG') ? bx_ltrim_str(BX_SYSTEM_FFMPEG, BX_DIRECTORY_PATH_ROOT) : 'plugins/ffmpeg/ffmpeg.exe',
);
Also correct this one in inc/params.inc.php:
define('BX_DIRECTORY_PATH_LOGS', BX_DIRECTORY_PATH_ROOT . 'logs/');
PS But for UNA better use the VPS or dedecicated hosting plans.
-
·
LeonidS