Adding Exporter for BPMN Projects (1st commit)

This commit is contained in:
Erik Amaru Ortiz
2014-02-28 19:11:34 -04:00
parent cd5c861337
commit 1a4d3b0a21
8 changed files with 294 additions and 4 deletions

View File

@@ -2609,7 +2609,7 @@ class G
* @param integer $permission
* @return void
*/
public static function uploadFile ($file, $path, $nameToSave, $permission = 0660)
public static function uploadFile ($file, $path, $nameToSave, $permission = 0755)
{
try {
if ($file == '') {
@@ -3618,7 +3618,7 @@ class G
* @param $pattern pattern to filter some especified files
* @return <array> array containing the recursive glob results
*/
public function rglob($pattern = '*', $flags = 0, $path = '')
public static function rglob($pattern = '*', $flags = 0, $path = '')
{
$paths = glob($path.'*', GLOB_MARK|GLOB_ONLYDIR|GLOB_NOSORT);
$files = glob($path.$pattern, $flags);