Removed logs folder from being excluded from validate check

This commit is contained in:
laf
2016-01-25 23:17:02 +00:00
parent 24c14f2525
commit b7630667f4

View File

@@ -104,8 +104,7 @@ if (class_exists('Net_IPv6') === false) {
if (isset($config['user'])) {
$tmp_user = $config['user'];
$tmp_dir = $config['install_dir'];
$tmp_log = $config['log_dir'];
$find_result = rtrim(`find $tmp_dir \! -user $tmp_user -not -path $tmp_log`);
$find_result = rtrim(`find $tmp_dir \! -user $tmp_user`);
if (!empty($find_result)) {
// This isn't just the log directory, let's print the list to the user
$files = explode(PHP_EOL, $find_result);