Commit fd61ba74 by vuj

Homepage

1 parent 0cbaad8c
...@@ -48,7 +48,6 @@ class mcCairoSvg { ...@@ -48,7 +48,6 @@ class mcCairoSvg {
} }
if(!$param_quality['DPI']) { if(!$param_quality['DPI']) {
D::ulli('$param_quality[DPI] = 30;');
$param_quality['DPI'] = 30; $param_quality['DPI'] = 30;
} }
......
...@@ -135,7 +135,6 @@ class mcFile { ...@@ -135,7 +135,6 @@ class mcFile {
if(!array_key_exists('prefix', $param_outputfile)) { if(!array_key_exists('prefix', $param_outputfile)) {
if(!is_null($param_filepath)) { if(!is_null($param_filepath)) {
$pathinfo = pathinfo($param_filepath); $pathinfo = pathinfo($param_filepath);
// D::show($pathinfo, 'basename: '.basename($param_filepath));
$param_outputfile['prefix'] = $pathinfo['filename']; $param_outputfile['prefix'] = $pathinfo['filename'];
} else { } else {
$param_outputfile['prefix'] = ''; $param_outputfile['prefix'] = '';
...@@ -150,7 +149,6 @@ class mcFile { ...@@ -150,7 +149,6 @@ class mcFile {
$param_outputfile['filenameextension'] = ''; $param_outputfile['filenameextension'] = '';
} }
// D::show($param_outputfile, '$param_outputfile');
} }
} }
......
...@@ -82,11 +82,10 @@ class mcInkscape { ...@@ -82,11 +82,10 @@ class mcInkscape {
} }
$inkscape_order = "inkscape -T ".$param_input_filename." -l ".$outfile." "; $inkscape_order = "inkscape -T ".$param_input_filename." -l ".$outfile." ";
// D::ulli('inkscapeSvgToNormalSvg:shell# '.$inkscape_order); D::ulli('inkscapeSvgToNormalSvg:shell# '.$inkscape_order);
// $shell_exec = shell_exec($inkscape_order); // $shell_exec = shell_exec($inkscape_order);
$shell_exec = mcBash::shell_exec($inkscape_order); $shell_exec = mcBash::shell_exec($inkscape_order);
// D::show($shell_exec, $inkscape_order); // D::show($shell_exec, $inkscape_order);
return $outfile; return $outfile;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!