/home/aqcert/public_html/admin/tinymce/js/tinymce/plugins/filemanager
Edit: /home/aqcert/public_html/admin/tinymce/js/tinymce/plugins/filemanager/utils.php (1315B)
resizeImage($newwidth, $newheight, 'crop');
// *** Save resized image as a PNG
$magicianObj -> saveImage($imgthumb);
}
function makeSize($size) {
$units = array('B','KB','MB','GB','TB');
$u = 0;
while ( (round($size / 1024) > 0) && ($u < 4) ) {
$size = $size / 1024;
$u++;
}
return (number_format($size, 1, ',', '') . " " . $units[$u]);
}
function create_folder($path=false,$path_thumbs=false){
$oldumask = umask(0);
if ($path && !file_exists($path))
mkdir($path, 0777); // or even 01777 so you get the sticky bit set
if($path_thumbs && !file_exists($path_thumbs))
mkdir($path_thumbs, 0777); // or even 01777 so you get the sticky bit set
umask($oldumask);
}
?>