Skip to content
This repository has been archived by the owner on May 28, 2021. It is now read-only.

Commit

Permalink
Merge pull request #3 from dialogik/master
Browse files Browse the repository at this point in the history
Fix issue with PATH separator character on Windows
  • Loading branch information
jakobwesthoff committed Mar 25, 2015
2 parents 500bdba + 26baa2a commit 8581cf0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/config.php
Expand Up @@ -4,7 +4,7 @@

ini_set(
'include_path',
ini_get( "include_path" ) . ':' . BASEDIR
ini_get( "include_path" ) . PATH_SEPARATOR . BASEDIR
);

require_once( 'classes/base.php' );
Expand Down
4 changes: 4 additions & 0 deletions src/exceptions/processor/externalExecution.php
Expand Up @@ -4,6 +4,10 @@ class plProcessorExternalExecutionException extends Exception
{
public function __construct( $output )
{
// Convert array to string if is_array
if(is_array($output)) {
$output = var_export($output, true);
}
parent::__construct( 'Execution of external program failed:' . "\n" . $output );
}
}
Expand Down

0 comments on commit 8581cf0

Please sign in to comment.