Commit 67ac3a18 authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files

Corrected license.

parent 5000d6ce
<?php <?php
/** /**
* This program is part of mahara * This program is part of Mahara
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
...@@ -164,4 +164,4 @@ $ALLOWED_PROTOCOLS = array('http', 'https', 'ftp', 'news', 'mailto', 'rtsp', 'te ...@@ -164,4 +164,4 @@ $ALLOWED_PROTOCOLS = array('http', 'https', 'ftp', 'news', 'mailto', 'rtsp', 'te
'border', 'margin', 'padding', 'background'); // CSS as well to get through kses 'border', 'margin', 'padding', 'background'); // CSS as well to get through kses
?> ?>
\ No newline at end of file
<?php <?php
/** /**
* This program is part of mahara * This program is part of Mahara
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
...@@ -482,6 +482,7 @@ function check_dir_exists($dir, $create=true, $recursive=true) { ...@@ -482,6 +482,7 @@ function check_dir_exists($dir, $create=true, $recursive=true) {
} else { } else {
umask(0000); umask(0000);
$status = @mkdir($dir, 0777, true); $status = @mkdir($dir, 0777, true);
// @todo has the umask been clobbered at this point, and is this a bad thing?
} }
} }
return $status; return $status;
......
<?php <?php
/** /**
* This program is part of mahara * This program is part of Mahara
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
...@@ -366,4 +366,4 @@ function cleanAttributes2($htmlArray){ ...@@ -366,4 +366,4 @@ function cleanAttributes2($htmlArray){
return '<'. $slash . $elem . $attStr . $xhtml_slash .'>'; return '<'. $slash . $elem . $attStr . $xhtml_slash .'>';
} }
?> ?>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment