Lines Matching refs:dir
54 $dir = DOKU_PLUGIN . 'accscounter/log/';
60 if (file_exists($dir)) {
61 $dp = @opendir($dir);
73 $data = file_get_contents($dir . $file);
82 if (!unlink($dir . $file)) {
88 unlink($dir . '.htaccess');
89 …if (rmdir($dir)) echo '<br>' . $this->getLang('complete') . '<br><br>'; else echo '<br>' . $this->…
156 protected function delTree($dir) { argument
157 $files = array_diff(scandir($dir), array('.','..'));
159 (is_dir("$dir/$file")) ? $this->delTree("$dir/$file") : unlink("$dir/$file");
161 return rmdir($dir);