Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 387167 | Differences between
and this patch

Collapse All | Expand All

(-)concerto-1.9.3-NoCAS/common/upload.php (-2 / +1 lines)
Lines 501-508 Link Here
501
		if(move_uploaded_file($this->content_i['tmp_name'], $temp_dest)){
501
		if(move_uploaded_file($this->content_i['tmp_name'], $temp_dest)){
502
			$source = $temp_dest;
502
			$source = $temp_dest;
503
			$target = $temp_dir . $this->user_id . "-" . time() . ".pdf";
503
			$target = $temp_dir . $this->user_id . "-" . time() . ".pdf";
504
			$command = COMMON_DIR . "scripts/DocumentConverter.py " . $source . " " . $target; //This command relies on open office
504
			$command = "/usr/lib/libreoffice/program/python " . COMMON_DIR . "scripts/DocumentConverter.py " . $source . " " . $target; //This command relies on open office
505
        		//echo $command;
506
			exec($command, $output, $return);
505
			exec($command, $output, $return);
507
	        	//print_r($output); echo "RETURNING: $return..";
506
	        	//print_r($output); echo "RETURNING: $return..";
508
			unlink($source);
507
			unlink($source);

Return to bug 387167