Commit 208e0233c36e88177c59eb05a6596fa75df6ab2b

Authored by Kevin Fourie
1 parent 291814ed

KTS-1744

"PDFPlugin does not work with Windows paths"
Fixed another path.

Reviewed By: Conrad



git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@6333 c91229c3-7414-0410-bfa2-8a42b809f60b
plugins/ktstandard/PDFGeneratorAction.php
... ... @@ -51,6 +51,7 @@ class PDFGeneratorAction extends KTDocumentAction {
51 51 // We need to handle Windows differently - as usual ;)
52 52 if (substr( PHP_OS, 0, 3) == 'WIN') {
53 53 $cmdpath = KT_DIR . "../openoffice/openoffice/program/python.bat";
  54 + $cmdpath = str_replace( '/','\\',$cmdpath);
54 55 } else {
55 56 $cmdpath = "../openoffice/program/python";
56 57 }
... ...