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;
|
||||
default :
|
||||
$realPath = explode('?', $realPath);
|
||||
$realPath[0] .= strpos($realPath[0], '.') === false ? '.php' : '';
|
||||
$realPath[0] .= strpos(basename($realPath[0]), '.') === false ? '.php' : '';
|
||||
G::streamFile ( $realPath[0] );
|
||||
die;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user