[svn r18238] FS#3580: function upload_stylesheet($values,$picture): A missing argument for chmod(...) has been added.

skala
Ivan Tcholakov 16 years ago
parent 51379de53e
commit 39c06b500c
  1. 4
      main/admin/settings.php

@ -1,4 +1,4 @@
<?php // $Id: settings.php 18228 2009-02-04 15:17:38Z juliomontoya $
<?php // $Id: settings.php 18238 2009-02-04 19:26:59Z ivantcholakov $
/*
==============================================================================
Dokeos - elearning and course management software
@ -670,7 +670,7 @@ function upload_stylesheet($values,$picture)
{
$perm = api_get_setting('permissions_for_new_directories');
$perm = octdec(!empty($perm)?$perm:'0770');
chmod(api_get_path(SYS_CODE_PATH).'css/'.$style_name.'/');
chmod(api_get_path(SYS_CODE_PATH).'css/'.$style_name.'/', $perm);
}
}

Loading…
Cancel
Save