Lines Matching refs:folderPath
61 function GetUrlFromPath( $resourceType, $folderPath, $sCommand ) argument
63 return CombinePaths( GetResourceTypePath( $resourceType, $sCommand ), $folderPath ) ;
71 function ServerMapFolder( $resourceType, $folderPath, $sCommand ) argument
82 return CombinePaths( $sResourceTypePath , $folderPath ) ;
85 function GetParentFolder( $folderPath ) argument
88 return preg_replace( $sPattern, '', $folderPath ) ;
91 function CreateServerFolder( $folderPath, $lastFolder = null ) argument
94 $sParent = GetParentFolder( $folderPath ) ;
97 while ( strpos($folderPath, '//') !== false )
99 $folderPath = str_replace( '//', '/', $folderPath ) ;
108 return "Can't create $folderPath directory" ;
111 $sErrorMsg = CreateServerFolder( $sParent, $folderPath ) ;
116 if ( !file_exists( $folderPath ) )
127 mkdir( $folderPath ) ;
138 mkdir( $folderPath, $permissions ) ;