Fix when ProcessMaker is installed in a folder with a dot.
This commit is contained in:
@@ -199,7 +199,7 @@ $startingTime = array_sum(explode(' ',microtime()));
|
|||||||
break;
|
break;
|
||||||
default :
|
default :
|
||||||
$realPath = explode('?', $realPath);
|
$realPath = explode('?', $realPath);
|
||||||
$realPath[0] .= strpos($realPath[0], '.') === false ? '.php' : '';
|
$realPath[0] .= strpos(basename($realPath[0]), '.') === false ? '.php' : '';
|
||||||
G::streamFile ( $realPath[0] );
|
G::streamFile ( $realPath[0] );
|
||||||
die;
|
die;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user