Home
last modified time | relevance | path

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

123

/dokuwiki/bin/
H A Dstriplangs.php72 * @param string $path path to plugin or template dir
97 * @param string $path path to lang dir
102 $dir = dir($path);
104 while (($cur_dir = $dir->read()) !== false) {
111 $dir->close();
H A Dwantedpages.php125 * @param string $dir
129 protected function getPages($dir)
137 if (!is_dir($dir)) {
138 throw new DokuCLI_Exception("Unable to read directory $dir");
142 $dh = opendir($dir);
144 $status = $this->dirFilter($entry, $dir);
148 $pages = array_merge($pages, $this->getPages($dir . '/' . $entry));
150 $page = ['id' => pathID(substr($dir . '/' . $entry, $trunclen)), 'file' => $dir . '/' . $entry];
126 getPages($dir) global() argument
/dokuwiki/inc/
H A DAjax.php197 $dir = utf8_encodeFN(str_replace(':', '/', $ns));
202 search($data, $conf['mediadir'], 'search_index', ['nofiles' => true], $dir);
330 $dir = utf8_encodeFN(str_replace(':', '/', $ns));
335 search($data, $conf['datadir'], 'search_index', ['ns' => $ns], $dir);
391 foreach (array_keys($dirs) as $dir) {
392 $data[] = ['id' => $dir, 'type' => 'd'];
H A Dfarm.php77 $dir = implode('.', array_slice($server, -$j)) . implode('.', array_slice($uri, 0, $i));
78 if (is_dir("$farm/$dir/conf/")) {
80 return "$farm/$dir/conf/";
H A Dindexer.php305 $dir = @opendir($conf['indexdir']);
306 if ($dir === false)
309 while (($f = readdir($dir)) !== false) {
316 closedir($dir);
H A Dinit.php36 // define Plugin dir
413 * will be used to change the permission of a newly created dir or
465 $dir = $conf['basedir'];
467 $dir = dirname($_SERVER['SCRIPT_NAME']);
469 $dir = dirname($_SERVER['PHP_SELF']);
471 $dir = preg_replace(
476 $dir = dirname('/' . $dir);
478 $dir = ''; //probably wrong, but we assume it's in the root
481 $dir
[all...]
H A Dio.php39 $dir = $conf[$basedir] . '/' . utf8_encodeFN(str_replace(':', '/', $id));
41 //try to delete dir else return
42 if (@rmdir($dir)) {
45 $delone = true; // we deleted at least one dir
526 $dir = dirname($file);
527 if (!@is_dir($dir)) {
528 if (!io_mkdir_p($dir)) {
529 msg("Creating directory $dir failed", -1);
551 $ret = @mkdir($target); // crawl back up & create dir tree
592 foreach ($dirs as $dir) {
[all...]
H A Dmedia.php729 $dir = utf8_encodeFN(str_replace(':', '/', $ns));
736 $dir,
1421 $dir = utf8_encodeFN(str_replace(':', '/', $evdata['ns']));
1435 $dir,
H A Dpageutils.php530 foreach ($pathA as $dir) {
531 if ($dir == '..') {
537 } elseif ($dir && $dir != '.') {
538 $result[] = $dir;
H A Dsearch.php24 * @param string $dir Current directory beyond $base
30 function search(&$data, $base, $func, $opts, $dir = '', $lvl = 1, $sort = 'natural')
42 $dh = @opendir($base . '/' . $dir);
46 if (is_dir($base . '/' . $dir . '/' . $file)) {
47 $dirs[] = $dir . '/' . $file;
50 $files[] = $dir . '/' . $file;
51 $filepaths[] = $base . '/' . $dir . '/' . $file;
64 foreach ($dirs as $dir) {
65 if (call_user_func_array($func, [&$data, $base, $dir, 'd', $lvl, $opts])) {
66 search($data, $base, $func, $opts, $dir,
27 search(& $data, $base, $func, $opts, $dir = '', $lvl = 1, $sort = 'natural') global() argument
[all...]
H A Dtemplate.php45 * Convenience function to access template dir from local FS
62 * Convenience function to access template dir from web
1794 $dir = dirname($conf_file);
1795 if (file_exists("$dir/$file")) {
1796 include("$dir/$file");
1802 // still here? try the template dir
/dokuwiki/inc/File/
H A DResolver.php90 foreach ($parts as $dir) {
91 if ($dir === '.') continue;
92 if ($dir === '') continue;
93 if ($dir === '..') {
97 $result[] = $dir;
/dokuwiki/inc/Remote/
H A DApiCore.php264 $dir = utf8_encodeFN(str_replace(':', '/', $namespace));
269 search($data, $conf['datadir'], 'search_allpages', $opts, $dir);
766 $dir = utf8_encodeFN(str_replace(':', '/', $namespace));
768 search($data, $conf['mediadir'], 'search_media', $options, $dir);
/dokuwiki/inc/Search/
H A DIndexer.php466 $dir = @opendir($conf['indexdir']);
467 if ($dir !== false) {
468 while (($f = readdir($dir)) !== false) {
/dokuwiki/inc/lang/az/
H A Ddenied.txt
H A Ddraft.txt
H A Dlocked.txt
/dokuwiki/
H A Dinstall.php47 <html lang="<?php echo $LC ?>" dir="<?php echo $lang['direction'] ?>">
124 echo "<div lang=\"en\" dir=\"ltr\">\n";
555 * Check other installation dir/file permission requirements
582 foreach ($dirs as $dir) {
583 if (!file_exists("$dir/.") || !is_writable($dir)) {
584 $dir = str_replace($_SERVER['DOCUMENT_ROOT'], '{DOCUMENT_ROOT}', $dir);
585 $error[] = sprintf($lang['i_permfail'], $dir);
669 $dir
[all...]
/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.php254 * @param string $dir directory of the extension
259 protected function loadExtensionLang($dir, $type, $extname)
267 if (file_exists($dir . 'lang/en/settings.php')) {
268 include $dir . 'lang/en/settings.php';
270 if ($ll != 'en' && file_exists($dir . 'lang/' . $ll . '/settings.php')) {
271 include $dir . 'lang/' . $ll . '/settings.php';
250 loadExtensionLang($dir, $type, $extname) global() argument
/dokuwiki/lib/plugins/config/core/Setting/
H A DSettingDirchoice.php10 protected $dir = ''; variable in dokuwiki\\plugin\\config\\core\\Setting\\SettingDirchoice
19 if ($dh = @opendir($this->dir)) {
24 $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 selector
[all...]
/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.php54 foreach ($this->temporary as $dir) {
55 io_rmdir($dir, true);
898 $dir = io_mktmpdir();
899 if (!$dir) return false;
900 $this->temporary[] = $dir;
901 return $dir;
916 * @return bool|string if failed false, otherwise true or the name of the file in the given dir

123