Install: Remove permissions check on public/ as it's not mandatory to install Chamilo

pull/4969/head
Yannick Warnier 1 year ago
parent f117dcb17a
commit 5985ebcb61
  1. 6
      public/main/install/install.lib.php

@ -753,12 +753,6 @@ function display_requirements(
//$perm_file = api_get_permissions_for_new_files(); //$perm_file = api_get_permissions_for_new_files();
$perm_file = octdec('0666'); $perm_file = octdec('0666');
$checked_writable = api_get_path(SYS_PUBLIC_PATH);
if (!is_writable($checked_writable)) {
$notWritable[] = $checked_writable;
@chmod($checked_writable, $perm);
}
if (!$course_test_was_created) { if (!$course_test_was_created) {
error_log('Installer: Could not create test course - Make sure permissions are fine.'); error_log('Installer: Could not create test course - Make sure permissions are fine.');
$error = true; $error = true;

Loading…
Cancel
Save