Feature #347 - The online editor: Two wrong php-statements have been fixed.

skala
Ivan Tcholakov 15 years ago
parent f1e544b880
commit d99c51674d
  1. 4
      main/inc/lib/fckeditor/repository.php

@ -8,10 +8,10 @@
require_once api_get_path(LIBRARY_PATH).'/fileUpload.lib.php';
$permissions_for_new_directories = api_get_setting('permissions_for_new_directories');
$permissions_for_new_directories = octdec(!empty($permissions_for_new_directories) ? $permissions_for_new_directories : octdec(0777));
$permissions_for_new_directories = octdec(!empty($permissions_for_new_directories) ? $permissions_for_new_directories : '0777');
$permissions_for_new_files = api_get_setting('permissions_for_new_files');
$permissions_for_new_files = octdec(!empty($permissions_for_new_files) ? $permissions_for_new_files : octdec(0777));
$permissions_for_new_files = octdec(!empty($permissions_for_new_files) ? $permissions_for_new_files : '0777');
if (!empty($_course['path'])) {
require_once api_get_path(LIBRARY_PATH).'/document.lib.php';

Loading…
Cancel
Save