Lines Matching refs:p_dir
4770 public function privDirCheck($p_dir, $p_is_dir = false) argument
4777 if (($p_is_dir) && (substr($p_dir, -1) == '/')) {
4778 $p_dir = substr($p_dir, 0, strlen($p_dir) - 1);
4783 if ((is_dir($p_dir)) || ($p_dir == "")) {
4789 $p_parent_dir = dirname($p_dir);
4793 if ($p_parent_dir != $p_dir) {
4805 if (!@mkdir($p_dir, 0777)) {
4807 PclZip::privErrorLog(PCLZIP_ERR_DIR_CREATE_FAIL, "Unable to create directory '$p_dir'");
5237 function PclZipUtilPathReduction($p_dir) argument
5243 if ($p_dir != "") {
5245 $v_list = explode("/", $p_dir);
5263 $v_result = $p_dir;
5311 function PclZipUtilPathInclusion($p_dir, $p_path) argument
5318 ($p_dir == '.')
5319 || ((strlen($p_dir) >= 2) && (substr($p_dir, 0, 2) == './'))
5321 $p_dir = PclZipUtilTranslateWinPath(getcwd(), false) . '/' . substr($p_dir, 1);
5333 $v_list_dir = explode("/", $p_dir);