Lines Matching refs:folderPath
59 function GetUrlFromPath( $resourceType, $folderPath, $sCommand ) argument
61 return CombinePaths( GetResourceTypePath( $resourceType, $sCommand ), $folderPath ) ;
69 function ServerMapFolder( $resourceType, $folderPath, $sCommand ) argument
80 return CombinePaths( $sResourceTypePath , $folderPath ) ;
83 function GetParentFolder( $folderPath ) argument
86 return preg_replace( $sPattern, '', $folderPath ) ;
89 function CreateServerFolder( $folderPath, $lastFolder = null ) argument
92 $sParent = GetParentFolder( $folderPath ) ;
95 while ( strpos($folderPath, '//') !== false )
97 $folderPath = str_replace( '//', '/', $folderPath ) ;
106 return "Can't create $folderPath directory" ;
109 $sErrorMsg = CreateServerFolder( $sParent, $folderPath ) ;
114 if ( !file_exists( $folderPath ) )
125 mkdir( $folderPath ) ;
136 mkdir( $folderPath, $permissions ) ;