Home
last modified time | relevance | path

Searched refs:path (Results 1 – 25 of 171) sorted by path

1234567

/dokuwiki/
H A D.htaccess.dist35 ## change "/dokuwiki" to the path to your dokuwiki directory relative
/dokuwiki/bin/
H A Dstriplangs.php70 * @param string $path path to plugin or template dir
73 protected function processExtensions($path, $keep_langs) { argument
74 if(is_dir($path)) {
75 $entries = scandir($path);
79 if(is_dir($path . '/' . $entry)) {
81 $plugin_langs = $path . '/' . $entry . '/lang';
95 * @param string $path path to lang dir
98 protected function stripDirLangs($path, $keep_langs) { argument
99 $dir = dir($path);
102 if($cur_dir != '.' and $cur_dir != '..' and is_dir($path . '/' . $cur_dir)) {
[all …]
/dokuwiki/inc/Extension/
H A DPluginTrait.php130 $path = DOKU_PLUGIN . $this->getPluginName() . '/lang/';
135 @include($path . 'en/lang.php');
143 @include($path . $conf['lang'] . '/lang.php');
203 $path = DOKU_PLUGIN . $this->getPluginName() . '/conf/';
206 if (file_exists($path . 'default.php')) {
207 include($path . 'default.php');
/dokuwiki/inc/File/
H A DMediaFile.php10 protected $path; variable in dokuwiki\\File\\MediaFile
28 $this->path = mediaFN($id, $rev);
30 list($this->ext, $this->mime, $this->downloadable) = mimetype($this->path, false);
42 return $this->path;
93 return filesize($this->path);
99 return filemtime($this->path);
105 return is_writable($this->path);
122 $info = getimagesize($this->path);
163 if($this->meta === null) $this->meta = new \JpegMeta($this->path);
/dokuwiki/inc/HTTP/
H A DHTTPClient.php184 $path = !empty($uri['path']) ? $uri['path'] : '/';
186 if(!empty($uri['query'])) $path .= '?'.$uri['query'];
198 $request_url = $path;
376 dirname($path).'/'.$this->resp_headers['location'];
/dokuwiki/inc/
H A DIXR_Library.php686 * @param string|bool $path
690 function __construct($server, $path = false, $port = 80, $timeout = 15) { argument
692 if(!$path) {
1106 * @param string|bool $path
1109 function __construct($server, $path = false, $port = 80) { argument
1110 parent::__construct($server, $path, $port);
H A DMailer.class.php76 * @param string $path Path to the file to attach
81 public function attachFile($path, $mime, $name = '', $embed = '') { argument
83 $name = \dokuwiki\Utf8\PhpString::basename($path);
87 'data' => file_get_contents($path),
H A Dauth.php685 $path = $ns.':*';
687 $path = '*'; //root document
691 $matches = preg_grep('/^'.preg_quote($path, '/').'[ \t]+([^ \t]+)[ \t]+/', $AUTH_ACL);
715 if($path != '*') {
716 $path = $ns.':*';
717 if($path == ':*') $path = '*';
H A Dcommon.php1093 $path = dirname(wikiFN($id));
1094 if(file_exists($path.'/_template.txt')) {
1095 $data['tplfile'] = $path.'/_template.txt';
1099 while(strlen($path) >= $len) {
1100 if(file_exists($path.'/__template.txt')) {
1101 $data['tplfile'] = $path.'/__template.txt';
1104 $path = substr($path, 0, strrpos($path, '/'));
H A Dindexer.php335 $path = $conf['indexdir']."/i";
337 if (file_exists($path.$key.'.idx'))
H A Dinit.php365 * @param string $path
369 function init_path($path){ argument
371 $p = fullpath($path);
575 * @param string $path
586 if($path[0] == '/'){
592 $path = $match[2];
595 $path = $match[2];
598 $path = str_replace('\\','/',$path);
603 $path = $base.'/'.$path;
612 $path=explode('/', $path);
[all …]
H A Dio.php518 * @param string $path
522 function io_rmdir($path, $removefiles = false) { argument
523 if(!is_string($path) || $path == "") return false;
524 if(!file_exists($path)) return true; // it's already gone or was never there, count as success
526 if(is_dir($path) && !is_link($path)) {
530 if(!$dh = @opendir($path)) return false;
535 if(is_dir("$path/$f") && !is_link("$path/$f")) {
536 $dirs[] = "$path/$f";
538 $files[] = "$path/$f";
557 return @rmdir($path);
[all …]
H A Dmedia.php300 $path = $tmp.'/'.md5($id);
301 $target = fopen($path, "w");
306 unlink($path);
311 array('name' => $path,
319 unlink($path);
1217 foreach($media_usage as $path){
1218 echo '<dd>'.html_wikilink($path).'</dd>';
H A Dsearch.php436 * @param string $path
441 function pathID($path,$keeptxt=false){ argument
442 $id = utf8_decodeFN($path);
H A Dtemplate.php1255 $path = tpl_incdir() . 'lang/';
1260 @include($path . 'en/lang.php');
1268 @include($path . $conf['lang'] . '/lang.php');
1297 $path = tpl_incdir().'lang/';
1301 $file = $path.$conf['lang'].'/'.$id.'.txt';
1304 $file = $path.'en/'.$id.'.txt';
H A Dutf8.php81 function utf8_basename($path, $suffix = '') argument
84 return PhpString::basename($path, $suffix);
/dokuwiki/inc/Search/
H A DIndexer.php1130 $path = $conf['indexdir']."/i";
1132 if (file_exists($path.$key.'.idx'))
/dokuwiki/inc/Utf8/
H A DPhpString.php16 * @param string $path A path
23 public static function basename($path, $suffix = '') argument
25 $path = trim($path, '\\/');
26 $rpos = max(strrpos($path, '/'), strrpos($path, '\\'));
28 $path = substr($path, $rpos + 1);
32 if ($suflen && (substr($path, -$suflen) === $suffix)) {
33 $path = substr($path, 0, -$suflen);
36 return $path;
/dokuwiki/lib/exe/
H A Djs.php230 $path = DOKU_PLUGIN . $p . '/lang/';
233 if(file_exists($path . "en/lang.php")) {
234 include $path . "en/lang.php";
242 if(file_exists($path . $conf['lang'] . "/lang.php")) {
243 include($path . $conf['lang'] . '/lang.php');
271 $path = tpl_incdir() . 'lang/';
274 if(file_exists($path . "en/lang.php")) {
275 include $path . "en/lang.php";
283 include $path . $conf['lang'] . "/lang.php";
286 if(file_exists($path . $conf['lang'] . "/lang.php")) {
[all …]
/dokuwiki/lib/images/
H A Demail.svg1 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="#888888" d="m20 8-8 5-8-5V6…
H A Dexternal-link.svg1 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="#888888" d="M17.9,17.39C17.…
/dokuwiki/lib/images/fileicons/svg/
H A D7z.svg1 …{fill:#d8a13f}</style><path fill="#fff" d="M0 0h100v100H0z"/><path class="st1" d="M100 100H0V0h100…
H A Dasm.svg1 …viewBox="0 0 100 100"><path fill="#fff" d="M0 0h100v100H0z"/><path d="M100 100H0V0h100v100zM9.7 90…
H A Dbash.svg1 …viewBox="0 0 100 100"><path fill="#fff" d="M0 0h100v100H0z"/><path d="M100 100H0V0h100v100zM9.7 90…
H A Dbz2.svg1 …{fill:#d8a13f}</style><path fill="#fff" d="M0 0h100v100H0z"/><path class="st1" d="M100 100H0V0h100…

1234567