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
91 $sParent = GetParentFolder( $folderPath ) ;
94 while ( strpos($folderPath, '//') !== false )
96 $folderPath = str_replace( '//', '/', $folderPath ) ;
104 return "Can't create $folderPath directory" ;
107 $sErrorMsg = CreateServerFolder( $sParent, $folderPath ) ;
112 if ( !file_exists( $folderPath ) )
123 mkdir( $folderPath, 0777 ) ;