/dports/www/moodle310/moodle/lib/ |
H A D | configonlylib.php | 174 $relativepath = ''; 179 $relativepath = $_GET['file']; 181 $relativepath = min_clean_param($relativepath, 'SAFEPATH'); 184 return $relativepath; 188 $relativepath = urldecode($_SERVER['PATH_INFO']); 193 $relativepath = $_SERVER['PATH_INFO']; 198 if (preg_match('|^.+\.php(.*)$|i', $relativepath, $matches)) { 199 $relativepath = $matches[1]; 204 $relativepath = min_clean_param($relativepath, 'SAFEPATH'); 206 return $relativepath;
|
/dports/www/moodle39/moodle/lib/ |
H A D | configonlylib.php | 174 $relativepath = ''; 179 $relativepath = $_GET['file']; 181 $relativepath = min_clean_param($relativepath, 'SAFEPATH'); 184 return $relativepath; 188 $relativepath = urldecode($_SERVER['PATH_INFO']); 193 $relativepath = $_SERVER['PATH_INFO']; 198 if (preg_match('|^.+\.php(.*)$|i', $relativepath, $matches)) { 199 $relativepath = $matches[1]; 204 $relativepath = min_clean_param($relativepath, 'SAFEPATH'); 206 return $relativepath;
|
/dports/www/moodle311/moodle/lib/ |
H A D | configonlylib.php | 174 $relativepath = ''; 179 $relativepath = $_GET['file']; 181 $relativepath = min_clean_param($relativepath, 'SAFEPATH'); 184 return $relativepath; 188 $relativepath = urldecode($_SERVER['PATH_INFO']); 193 $relativepath = $_SERVER['PATH_INFO']; 198 if (preg_match('|^.+\.php(.*)$|i', $relativepath, $matches)) { 199 $relativepath = $matches[1]; 204 $relativepath = min_clean_param($relativepath, 'SAFEPATH'); 206 return $relativepath;
|
/dports/www/moodle310/moodle/ |
H A D | file.php | 39 $relativepath = get_file_argument(); variable 43 if (!$relativepath) { 45 } else if ($relativepath[0] != '/') { 50 $args = explode('/', ltrim($relativepath, '/')); 57 $relativepath = implode('/', $args); variable 72 and ($CFG->sitepolicy == $CFG->wwwroot.'/file.php/'.$relativepath 73 or $CFG->sitepolicy == $CFG->wwwroot.'/file.php?file=/'.$relativepath)) { 84 $fullpath = "/$context->id/course/legacy/0/$relativepath";
|
H A D | tokenpluginfile.php | 34 $relativepath = get_file_argument(); variable 36 if (0 == strpos($relativepath, '/token/')) { 37 $relativepath = ltrim($relativepath, '/'); variable 38 $pathparts = explode('/', $relativepath, 2); 41 $relativepath = "/{$pathparts[1]}"; variable
|
H A D | draftfile.php | 38 $relativepath = get_file_argument(); variable 42 if (!$relativepath) { 44 } else if ($relativepath[0] != '/') { 49 $args = explode('/', ltrim($relativepath, '/')); 77 $relativepath = implode('/', $args); variable 78 $fullpath = "/$context->id/user/draft/$draftid/$relativepath";
|
H A D | pluginfile.php | 35 if (empty($relativepath)) { 36 $relativepath = get_file_argument(); variable 44 file_pluginfile($relativepath, $forcedownload, $preview, $offline, $embed);
|
/dports/www/moodle311/moodle/ |
H A D | file.php | 39 $relativepath = get_file_argument(); variable 43 if (!$relativepath) { 45 } else if ($relativepath[0] != '/') { 50 $args = explode('/', ltrim($relativepath, '/')); 57 $relativepath = implode('/', $args); variable 72 and ($CFG->sitepolicy == $CFG->wwwroot.'/file.php/'.$relativepath 73 or $CFG->sitepolicy == $CFG->wwwroot.'/file.php?file=/'.$relativepath)) { 84 $fullpath = "/$context->id/course/legacy/0/$relativepath";
|
H A D | tokenpluginfile.php | 34 $relativepath = get_file_argument(); variable 36 if (0 == strpos($relativepath, '/token/')) { 37 $relativepath = ltrim($relativepath, '/'); variable 38 $pathparts = explode('/', $relativepath, 2); 41 $relativepath = "/{$pathparts[1]}"; variable
|
H A D | draftfile.php | 38 $relativepath = get_file_argument(); variable 42 if (!$relativepath) { 44 } else if ($relativepath[0] != '/') { 49 $args = explode('/', ltrim($relativepath, '/')); 77 $relativepath = implode('/', $args); variable 78 $fullpath = "/$context->id/user/draft/$draftid/$relativepath";
|
/dports/www/moodle39/moodle/ |
H A D | file.php | 39 $relativepath = get_file_argument(); variable 43 if (!$relativepath) { 45 } else if ($relativepath[0] != '/') { 50 $args = explode('/', ltrim($relativepath, '/')); 57 $relativepath = implode('/', $args); variable 72 and ($CFG->sitepolicy == $CFG->wwwroot.'/file.php/'.$relativepath 73 or $CFG->sitepolicy == $CFG->wwwroot.'/file.php?file=/'.$relativepath)) { 84 $fullpath = "/$context->id/course/legacy/0/$relativepath";
|
H A D | tokenpluginfile.php | 34 $relativepath = get_file_argument(); variable 36 if (0 == strpos($relativepath, '/token/')) { 37 $relativepath = ltrim($relativepath, '/'); variable 38 $pathparts = explode('/', $relativepath, 2); 41 $relativepath = "/{$pathparts[1]}"; variable
|
H A D | draftfile.php | 38 $relativepath = get_file_argument(); variable 42 if (!$relativepath) { 44 } else if ($relativepath[0] != '/') { 49 $args = explode('/', ltrim($relativepath, '/')); 77 $relativepath = implode('/', $args); variable 78 $fullpath = "/$context->id/user/draft/$draftid/$relativepath";
|
/dports/www/dolibarr13/dolibarr-13.0.5/htdocs/ecm/ |
H A D | dir_card.php | 72 $relativepath = $ecmdir->getRelativePath(); variable 73 $upload_dir = $conf->ecm->dir_output.'/'.$relativepath; 75 $relativepath = $section; variable 76 $upload_dir = $conf->ecm->dir_output.'/'.$relativepath; 80 $relativepath = $section; variable 235 $relativepath = $ecmdir->getRelativePath(); variable 236 $upload_dir = $conf->ecm->dir_output.'/'.$relativepath; 260 $section = $relativepath; 309 $morehtmlref = '/'.$module.'/'.$relativepath; 409 print '/ecm/'.$relativepath; [all …]
|
/dports/www/dolibarr/dolibarr-14.0.3/htdocs/ecm/ |
H A D | dir_card.php | 78 $relativepath = $ecmdir->getRelativePath(); variable 79 $upload_dir = $conf->ecm->dir_output.'/'.$relativepath; 81 $relativepath = $section; variable 82 $upload_dir = $conf->ecm->dir_output.'/'.$relativepath; 86 $relativepath = $section; variable 239 $relativepath = $ecmdir->getRelativePath(); variable 240 $upload_dir = $conf->ecm->dir_output.'/'.$relativepath; 262 $section = $relativepath; 309 $morehtmlref = '/'.$module.'/'.$relativepath; 402 print '/ecm/'.$relativepath; [all …]
|
H A D | file_note.php | 85 $relativepath = $ecmdir->getRelativePath(); variable 86 $upload_dir = $conf->ecm->dir_output.'/'.$relativepath; 88 $fullpath = $conf->ecm->dir_output.'/'.$relativepath.$urlfile; 90 $relativetodocument = 'ecm/'.$relativepath; // $relativepath is relative to ECM dir, we need relati… 91 $filepath = $relativepath.$urlfile;
|
/dports/www/dolibarr13/dolibarr-13.0.5/htdocs/core/ajax/ |
H A D | ajaxdirpreview.php | 78 $relativepath = ''; variable 88 $relativepath = $ecmdir->getRelativePath(); // Example 'mydir/' variable 91 $relativepath = GETPOST('section_dir'); variable 95 $upload_dir = $rootdirfordoc.'/'.$relativepath; 256 …$relativepath = GETPOST('file', 'alpha') ?GETPOST('file', 'alpha') : GETPOST('section_dir', 'alpha… variable 257 if ($relativepath && $relativepath != '/') $relativepath .= '/'; 258 $upload_dir = $dolibarr_main_data_root.'/'.$module.'/'.$relativepath; 267 $relativepath = $ecmdir->getRelativePath(); variable 268 $upload_dir = $conf->ecm->dir_output.'/'.$relativepath; 330 …$formfile->list_of_documents($filearray, '', $modulepart, $param, 1, $relativepath, $perm, $useine…
|
/dports/www/dolibarr/dolibarr-14.0.3/htdocs/core/ajax/ |
H A D | ajaxdirpreview.php | 90 $relativepath = ''; variable 98 $relativepath = $ecmdir->getRelativePath(); // Example 'mydir/' variable 100 $relativepath = GETPOST('section_dir'); variable 104 $upload_dir = $rootdirfordoc.'/'.$relativepath; 301 …$relativepath = GETPOST('file', 'alpha') ?GETPOST('file', 'alpha') : GETPOST('section_dir', 'alpha… variable 302 if ($relativepath && $relativepath != '/') { 303 $relativepath .= '/'; 305 $upload_dir = $dolibarr_main_data_root.'/'.$module.'/'.$relativepath; 317 $relativepath = $ecmdir->getRelativePath(); variable 318 $upload_dir = $conf->ecm->dir_output.'/'.$relativepath; [all …]
|
/dports/www/dolibarr13/dolibarr-13.0.5/htdocs/expensereport/tpl/ |
H A D | expensereport_linktofile.tpl.php | 21 $relativepath = (!empty($object->ref) ?dol_sanitizeFileName($object->ref) : '').'/'; variable 34 …$urlforhref = getAdvancedPreviewUrl($modulepart, $relativepath.$fileinfo['filename'].'.'.strtolowe… 42 …bject->entity) ? $object->entity : $conf->entity).'&file='.urlencode($relativepath.$minifile).'" t… 51 …$urlforhref = getAdvancedPreviewUrl($modulepart, $relativepath.$fileinfo['filename'].'.'.strtolowe… 53 $filepdf = $conf->expensereport->dir_output.'/'.$relativepath.$file['name']; 54 $fileimage = $conf->expensereport->dir_output.'/'.$relativepath.$file['name'].'_preview.png'; 55 $relativepathimage = $relativepath.$file['name'].'_preview.png';
|
/dports/www/dolibarr/dolibarr-14.0.3/htdocs/expensereport/tpl/ |
H A D | expensereport_linktofile.tpl.php | 19 $relativepath = (!empty($object->ref) ?dol_sanitizeFileName($object->ref) : '').'/'; variable 31 …$urlforhref = getAdvancedPreviewUrl($modulepart, $relativepath.$fileinfo['filename'].'.'.strtolowe… 39 …bject->entity) ? $object->entity : $conf->entity).'&file='.urlencode($relativepath.$minifile).'" t… 47 …$urlforhref = getAdvancedPreviewUrl($modulepart, $relativepath.$fileinfo['filename'].'.'.strtolowe… 49 $filepdf = $conf->expensereport->dir_output.'/'.$relativepath.$file['name']; 50 $fileimage = $conf->expensereport->dir_output.'/'.$relativepath.$file['name'].'_preview.png'; 51 $relativepathimage = $relativepath.$file['name'].'_preview.png';
|
/dports/www/dolibarr13/dolibarr-13.0.5/htdocs/core/class/ |
H A D | html.formfile.class.php | 777 $relativepath = $file["name"]; // Cas general 790 $mime = dol_mimetype($relativepath, '', 0); 952 $relativepath = $file["name"]; // Cas general 959 $relativepath = $file["name"]; 983 $mime = dol_mimetype($relativepath, '', 0); 986 $tmpout .= img_mime($relativepath, $file["name"]); 1052 if (empty($relativepath)) 1079 'relativepath' => $relativepath, // relative filename to module dir 1183 $filepath = $relativepath.$file['name']; 1203 if ($showrelpart == 1) print $relativepath; [all …]
|
/dports/www/dolibarr/dolibarr-14.0.3/htdocs/core/class/ |
H A D | html.formfile.class.php | 836 $relativepath = $file["name"]; // Cas general 841 $relativepath = $file["name"]; // Other case 855 $mime = dol_mimetype($relativepath, '', 0); 1040 $relativepath = $file["name"]; // Cas general 1049 $relativepath = $file["name"]; 1074 $mime = dol_mimetype($relativepath, '', 0); 1079 $tmpout .= img_mime($relativepath, $file["name"]); 1148 if (empty($relativepath)) { 1151 …$relativepath = get_exdir($object->id, 2, 0, 0, $object, 'invoice_supplier').$relativepath; // TOD… 1298 $filepath = $relativepath.$file['name']; [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/python/mozbuild/mozpack/ |
H A D | path.py | 129 def rebase(oldbase, base, relativepath): argument 134 return relativepath 138 result = join(relbase, relativepath) 142 result = relpath(relativepath, relbase) 144 if relativepath.endswith('/') and not result.endswith('/'):
|
/dports/www/firefox-legacy/firefox-52.8.0esr/python/mozbuild/mozpack/ |
H A D | path.py | 119 def rebase(oldbase, base, relativepath): argument 124 return relativepath 128 result = join(relbase, relativepath) 132 result = relpath(relativepath, relbase) 134 if relativepath.endswith('/') and not result.endswith('/'):
|
/dports/lang/spidermonkey60/firefox-60.9.0/third_party/python/compare-locales/compare_locales/ |
H A D | mozpath.py | 120 def rebase(oldbase, base, relativepath): argument 125 return relativepath 129 result = join(relbase, relativepath) 133 result = relpath(relativepath, relbase) 135 if relativepath.endswith('/') and not result.endswith('/'):
|