Home
last modified time | relevance | path

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

123

/dokuwiki/bin/
H A Dstriplangs.php99 $dir = dir($path);
101 while(($cur_dir = $dir->read()) !== false) {
109 $dir->close();
H A Dwantedpages.php121 * @param string $dir
125 protected function getPages($dir) { argument
132 if(!is_dir($dir)) {
133 throw new DokuCLI_Exception("Unable to read directory $dir");
137 $dh = opendir($dir);
139 $status = $this->dirFilter($entry, $dir);
143 $pages = array_merge($pages, $this->getPages($dir . '/' . $entry));
146 'id' => pathID(substr($dir . '/' . $entry, $trunclen)),
147 'file' => $dir . '/' . $entry,
/dokuwiki/inc/
H A DAjax.php186 $dir = utf8_encodeFN(str_replace(':', '/', $ns));
191 search($data, $conf['mediadir'], 'search_index', array('nofiles' => true), $dir);
320 $dir = utf8_encodeFN(str_replace(':', '/', $ns));
325 search($data, $conf['datadir'], 'search_index', array('ns' => $ns), $dir);
377 foreach($dirs as $dir => $junk) {
379 'id' => $dir,
H A Dfarm.php67 $dir = implode('.', array_slice($server, -$j)) . implode('.', array_slice($uri, 0, $i));
68 if(is_dir("$farm/$dir/conf/")) {
70 return "$farm/$dir/conf/";
H A Dindexer.php294 $dir = @opendir($conf['indexdir']);
295 if ($dir === false)
298 while (($f = readdir($dir)) !== false) {
305 closedir($dir);
H A Dinit.php444 $dir = $conf['basedir'];
446 $dir = dirname($_SERVER['SCRIPT_NAME']);
448 $dir = dirname($_SERVER['PHP_SELF']);
452 $dir = dirname('/'.$dir);
454 $dir = '.'; //probably wrong
457 $dir = str_replace('\\','/',$dir); // bugfix for weird WIN behaviour
458 $dir = preg_replace('#//+#','/',"/$dir/"); // ensure leading and trailing slashes
461 $dir = preg_replace('!lib/exe/$!','',$dir);
464 $dir = preg_replace('!lib/plugins/.*$!','',$dir);
467 if(!$abs) return $dir;
[all …]
H A Dio.php36 $dir = $conf[$basedir].'/'.utf8_encodeFN(str_replace(':','/',$id));
39 if(@rmdir($dir)) {
485 $dir = dirname($file);
486 if(!@is_dir($dir)){
487 io_mkdir_p($dir) || msg("Creating directory $dir failed",-1);
547 foreach($dirs as $dir) {
548 if(!io_rmdir($dir, $removefiles)) return false; // abort on any error
576 $dir = md5(uniqid(mt_rand(), true));
577 $tmpdir = $base.'/'.$dir;
H A Dmedia.php700 $dir = utf8_encodeFN(str_replace(':','/',$ns));
703 array('showmsg'=>true,'depth'=>1),$dir,1,$sort);
1536 $dir = utf8_encodeFN(str_replace(':','/',$evdata['ns']));
1549 $dir,
H A Dpageutils.php478 foreach ($pathA AS $key => $dir) {
479 if ($dir == '..') {
485 } elseif ($dir && $dir != '.') {
486 $result[] = $dir;
H A Dsearch.php21 * @param string $dir Current directory beyond $base
27 function search(&$data,$base,$func,$opts,$dir='',$lvl=1,$sort='natural'){ argument
38 $dh = @opendir($base.'/'.$dir);
42 if(is_dir($base.'/'.$dir.'/'.$file)){
43 $dirs[] = $dir.'/'.$file;
46 $files[] = $dir.'/'.$file;
47 $filepaths[] = $base.'/'.$dir.'/'.$file;
60 foreach($dirs as $dir){
61 if (call_user_func_array($func, array(&$data,$base,$dir,'d',$lvl,$opts))){
62 search($data,$base,$func,$opts,$dir,$lvl+1,$sort);
H A Dtemplate.php1692 $dir = dirname($conf_file);
1693 if(file_exists("$dir/$file")) {
1694 include("$dir/$file");
/dokuwiki/inc/Remote/
H A DApiCore.php348 $dir = utf8_encodeFN(str_replace(':', '/', $ns));
351 search($data, $conf['datadir'], 'search_allpages', $opts, $dir);
431 $dir = utf8_encodeFN(str_replace(':', '/', $ns));
434 search($data, $conf['mediadir'], 'search_media', $options, $dir);
/dokuwiki/inc/Search/
H A DIndexer.php454 $dir = @opendir($conf['indexdir']);
455 if($dir!==false){
456 while(($f = readdir($dir)) !== false){
/dokuwiki/inc/lang/az/
H A Ddenied.txt1 ====== Müraciət qadağan edilmişdir ======
H A Ddraft.txt3 Bu səhifənin son düzəlişi düzgün başa çatdırılmamışdir. Düzəliş zamanı qaralama avtomatik yadda sax…
H A Dlocked.txt1 ====== Səhifə blok edilmişdir ======
3 Bu səhifə başqa istifadəçi tərəfindən dəyişdirilmə üçün blok edilmişdir. O istifadəçi dəyişdirməni …
/dokuwiki/
H A Dinstall.php536 foreach($dirs as $dir){
537 if(!file_exists("$dir/.") || !is_writable($dir)){
538 $dir = str_replace($_SERVER['DOCUMENT_ROOT'],'{DOCUMENT_ROOT}', $dir);
539 $error[] = sprintf($lang['i_permfail'],$dir);
622 $dir = DOKU_INC.'inc/lang';
623 $dh = opendir($dir);
629 if(is_dir($dir.'/'.$file) && file_exists($dir.'/'.$file.'/lang.php')){
/dokuwiki/lib/plugins/acl/
H A Dstyle.css10 [dir=rtl] #acl__tree { selector
30 [dir=rtl] #acl__tree li { selector
39 [dir=rtl] #acl__tree ul img { selector
50 [dir=rtl] #acl__detail { selector
81 [dir=rtl] #acl_manager .aclgroup { selector
90 [dir=rtl] #acl_manager .acluser { selector
99 [dir=rtl] #acl_manager .aclpage { selector
108 [dir=rtl] #acl_manager .aclns { selector
/dokuwiki/lib/plugins/config/core/
H A DLoader.php239 * @param string $dir directory of the extension
244 protected function loadExtensionLang($dir, $type, $extname) { argument
251 if(file_exists($dir . 'lang/en/settings.php')) {
252 include $dir . 'lang/en/settings.php';
254 if($ll != 'en' && file_exists($dir . 'lang/' . $ll . '/settings.php')) {
255 include $dir . 'lang/' . $ll . '/settings.php';
/dokuwiki/lib/plugins/config/core/Setting/
H A DSettingDirchoice.php10 protected $dir = ''; variable in dokuwiki\\plugin\\config\\core\\Setting\\SettingDirchoice
18 if($dh = @opendir($this->dir)) {
23 … $file = (is_link($this->dir . $entry)) ? readlink($this->dir . $entry) : $this->dir . $entry;
/dokuwiki/lib/plugins/config/
H A Dstyle.css18 [dir=rtl] #config__manager fieldset { selector
34 [dir=rtl] #config__manager fieldset td { selector
42 [dir=rtl] #config__manager label { selector
45 [dir=rtl] #config__manager td.value input.checkbox { selector
50 [dir=rtl] #config__manager td.value label { selector
58 [dir=rtl] #config__manager td.label { selector
66 [dir=rtl] #config__manager td.label label { selector
74 [dir=rtl] #config__manager td.label img { selector
90 [dir=rtl] #config__manager td.label span.outkey { selector
144 [dir=rtl] #config__manager .selection { selector
/dokuwiki/lib/plugins/extension/
H A Dall.less23 [dir=rtl] #extension__list .legend {
H A Dstyle.less225 [dir=rtl] #extension__list .legend {
344 [dir=rtl] #extension__manager .actions {
/dokuwiki/lib/plugins/extension/helper/
H A Dextension.php47 foreach ($this->temporary as $dir) {
48 io_rmdir($dir, true);
881 $dir = io_mktmpdir();
882 if (!$dir) return false;
883 $this->temporary[] = $dir;
884 return $dir;
/dokuwiki/lib/plugins/logviewer/
H A Dadmin.php144 foreach ($dirs as $dir) {
145 $facilities[] = basename($dir);

123