Skip to content

Commit

Permalink
Validate .lck file permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
mark0263 committed Oct 9, 2016
1 parent 0776734 commit 2bef973
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions public_html/admin/envcheck.php
Expand Up @@ -373,6 +373,9 @@ function _checkEnvironment()
$feedPath = substr( $feedpath, 0, $pos + 1 );

$file_list = array( $_CONF['path_data'],
$_CONF['data_path'].'glfusion.lck',
$_CONF['data_path'].'glfusion_css.lck',
$_CONF['data_path'].'glfusion_js.lck',
$_CONF['path_log'].'error.log',
$_CONF['path_log'].'access.log',
$_CONF['path_log'].'captcha.log',
Expand Down
3 changes: 3 additions & 0 deletions public_html/admin/install/index.php
Expand Up @@ -865,6 +865,9 @@ function INST_checkEnvironment($dbconfig_path='')
$file_list = array( /*$_PATH['dbconfig_path'],*/
$_PATH['dbconfig_path'].'db-config.php',
$_PATH['data_path'],
$_PATH['data_path'].'glfusion.lck',
$_PATH['data_path'].'glfusion_css.lck',
$_PATH['data_path'].'glfusion_js.lck',
$_PATH['log_path'].'error.log',
$_PATH['log_path'].'access.log',
$_PATH['log_path'].'captcha.log',
Expand Down

0 comments on commit 2bef973

Please sign in to comment.