Home
last modified time | relevance | path

Searched refs:file (Results 1 – 25 of 159) sorted by relevance

1234567

/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/Content/Type/
H A DSniffer.php66 var $file; variable in SimplePie_Content_Type_Sniffer
73 public function __construct($file) argument
75 $this->file = $file;
85 if (isset($this->file->headers['content-type']))
144 if (substr($this->file->body, 0, 2) === "\xFE\xFF"
145 || substr($this->file->body, 0, 2) === "\xFF\xFE"
182 || substr($this->file->body, 0, 6) === 'GIF89a')
213 if (substr($this->file->body, 0, 6) === 'GIF87a'
214 || substr($this->file->body, 0, 6) === 'GIF89a')
245 $len = strlen($this->file->body);
[all …]
/dokuwiki/inc/
H A Dio.php108 if(file_exists($file)){
276 io_makeFileDir($file);
277 io_lock($file);
280 io_unlock($file);
283 io_unlock($file);
321 io_lock($file);
331 $lines = file($file);
365 @unlink($file);
368 io_unlock($file);
401 function io_lock($file){ argument
[all …]
H A Dsearch.php46 $files[] = $dir.'/'.$file;
66 foreach($files as $file){
101 * @param string $file
126 * @param string $file
155 * @param string $file
181 * @param string $file
248 * @param string $file
295 * @param string $file
308 $id = pathID($file);
326 * @param string $file
[all …]
H A Dfetch.functions.php16 * @param string $file local file to send
66 $fmtime = @filemtime($file);
71 $orig = $file;
86 http_sendfile($file);
89 $fp = @fopen($file, "rb");
91 http_rangeRequest($fp, filesize($file), $mime);
94 print "Could not read $file - bad permissions?";
138 * @param string $file reference to the file variable
155 if(!$file) {
173 $file = mediaFN($media, $rev);
[all …]
H A Dload.php94 $file = DOKU_INC . '_test/' . substr($name, 14) . '.php';
95 if(file_exists($file)) {
96 require $file;
104 $file = DOKU_PLUGIN . substr($name, 16) . '.php';
105 if(file_exists($file)) {
107 require $file;
119 if(file_exists($file)) {
121 require $file;
131 $file = DOKU_INC . 'inc/' . substr($name, 9) . '.php';
132 if(file_exists($file)) {
[all …]
H A DLogger.php54 * @param string $file A source filename if this is related to a source position
58 static public function error($message, $details = null, $file = '', $line = 0) argument
61 $message, $details, $file, $line
70 * @param string $file A source filename if this is related to a source position
74 static public function debug($message, $details = null, $file = '', $line = 0) argument
77 $message, $details, $file, $line
86 * @param string $file A source filename if this is related to a source position
93 $message, $details, $file, $line
106 public function log($message, $details = null, $file = '', $line = 0) argument
127 if ($file) {
[all …]
H A Dcache.php26 public function __construct($id, $file, $mode) argument
29 parent::__construct($id, $file, $mode);
40 public function __construct($id, $file, $mode) argument
43 parent::__construct($id, $file, $mode);
52 public function __construct($id, $file) argument
55 parent::__construct($id, $file);
H A Dhttputils.php69 * @param string $file absolute path of file to send
72 function http_sendfile($file) { argument
77 header("X-LIGHTTPD-send-file: $file");
81 header("X-Sendfile: $file");
86 $file = DOKU_REL.substr($file, strlen(fullpath(DOKU_INC)) + 1);
87 header("X-Accel-Redirect: $file");
249 * @param string $file file name
252 function http_cached_finish($file, $content) { argument
256 io_saveFile($file, $content);
257 if(DOKU_HAS_GZIP) io_saveFile("$file.gz",$content);
H A DStyleUtils.php131 * @param string $file
137 protected function getValidatedStyles($stylesheets, $file, $mode, $incbase, $webbase) argument
140 if (!file_exists($incbase . $file)) {
141 list($extension, $basename) = array_map('strrev', explode('.', strrev($file), 2));
146 msg("Stylesheet $file not found, using $basename.$newExtension instead. " .
150 … msg("Stylesheet $file not found, please contact the developer of \"$this->tpl\" template.", 2);
153 $stylesheets[$mode][fullpath($incbase . $file)] = $webbase;
H A Dpageutils.php434 if(!file_exists($file)){
441 return $file;
562 $file = wikiFN($page,$rev);
624 io_makeFileDir($file);
625 return $file;
718 return $file;
725 $file = urlencode($file);
726 $file = str_replace('%2F','/',$file);
727 return $file;
741 function utf8_decodeFN($file){ argument
[all …]
H A Dconfutils.php27 * @param string $file file name
31 function mimetype($file, $knownonly=true){ argument
33 $ext = strrpos($file, '.');
37 $ext = strtolower(substr($file, $ext + 1));
252 * @param string $file
257 function confToHash($file,$lower=false) { argument
259 $lines = @file( $file );
268 * @param string $file
271 function jsonToArray($file) argument
273 $json = file_get_contents($file);
[all …]
/dokuwiki/vendor/splitbrain/php-archive/src/
H A DArchive.php28 * @param string $file
31 abstract public function open($file); argument
76 * @param string $file
78 abstract public function create($file = ''); argument
83 * @param string $file path to the original file
87 abstract public function addFile($file, $fileinfo = ''); argument
119 * @param string $file
121 abstract public function save($file); argument
H A DTar.php19 protected $file = ''; variable in splitbrain\\PHPArchive\\Tar
49 * @param string $file
55 $this->file = $file;
208 * @param string $file
214 $this->file = $file;
218 if ($this->file) {
351 if ($this->file) {
674 if(file_exists($file) && is_readable($file) && filesize($file) > 5) {
685 $file = strtolower($file);
686 if (substr($file, -3) == '.gz' || substr($file, -4) == '.tgz') {
[all …]
H A DFileInfo.php75 $file = new FileInfo();
77 $file->setPath($path);
78 $file->setIsdir(is_dir($path));
79 $file->setMode(fileperms($path));
80 $file->setOwner(fileowner($path));
82 $file->setSize(filesize($path));
83 $file->setUid($stat['uid']);
84 $file->setGid($stat['gid']);
85 $file->setMtime($stat['mtime']);
88 $file->setPath($as);
[all …]
H A DZip.php19 protected $file = ''; variable in splitbrain\\PHPArchive\\Zip
50 * @param string $file
53 public function open($file) argument
55 $this->file = $file;
251 * @param string $file
256 $this->file = $file;
260 if ($this->file) {
404 if ($this->file) {
406 $this->file = '';
700 if (!$this->file) {
[all …]
/dokuwiki/inc/Cache/
H A DCacheParser.php11 public $file = ''; // source file for cache variable in dokuwiki\\Cache\\CacheParser
18 * @param string $file source file for cache
21 public function __construct($id, $file, $mode) argument
26 $this->file = $file;
30 parent::__construct($file . $_SERVER['HTTP_HOST'] . $_SERVER['SERVER_PORT'], '.' . $mode);
41 if (!file_exists($this->file)) {
52 $this->file, // ... source
H A DCacheInstructions.php13 * @param string $file source file for cache
15 public function __construct($id, $file) argument
17 parent::__construct($id, $file, 'i');
/dokuwiki/lib/plugins/safefnrecode/
H A Daction.php58 while (($file = readdir($dh)) !== false) {
59 if ($file == '.' || $file == '..') continue; # cur and upper dir
60 if (is_dir("$dir/$file")) $this->recode("$dir/$file"); #recurse
61 if (strpos($file, '%') === false) continue; # no encoding used
62 $new = preg_replace('/(%[^\]]*?)\./', '\1]', $file); # new post indicator
64 rename("$dir/$file", "$dir/$new"); # rename it
/dokuwiki/inc/Subscriptions/
H A DSubscriberManager.php62 $file = $this->file($id);
63 return io_saveFile($file, $line, true);
87 $file = $this->file($id);
88 if (!file_exists($file)) {
94 return io_deleteFromFile($file, $re, true);
171 $files = [':' => $this->file(':')];
173 $files[$page] = $this->file($page);
182 foreach ($files as $target => $file) {
183 if (!file_exists($file)) {
187 $lines = file($file);
[all …]
H A DMediaSubscriptionSender.php25 $file = mediaFN($id);
31 'SIZE' => filesize_h(filesize($file)),
40 $headers = ['Message-Id' => $this->getMessageID($id, @filemtime($file))];
/dokuwiki/vendor/composer/
H A DClassLoader.php346 includeFile($file);
371 return $file;
386 if (false === $file) {
391 return $file;
419 return $file;
429 return $file;
448 return $file;
458 return $file;
464 return $file;
476 function includeFile($file) argument
[all …]
H A Dautoload_real.php60 foreach ($includeFiles as $fileIdentifier => $file) {
61 composerRequirea19a915ee98347a0c787119619d2ff9b($fileIdentifier, $file);
68 function composerRequirea19a915ee98347a0c787119619d2ff9b($fileIdentifier, $file) argument
71 require $file;
/dokuwiki/lib/plugins/config/core/
H A DLoader.php173 foreach($files as $file) {
174 $conf = array_merge($conf, $this->parser->parse($file));
184 * @param string $file php file to read
189 protected function loadExtensionMeta($file, $type, $extname) { argument
190 if(!file_exists($file)) return array();
195 include $file;
214 * @param string $file php file to read
219 protected function loadExtensionConf($file, $type, $extname) { argument
220 if(!file_exists($file)) return array();
224 $conf = $this->parser->parse($file);
H A DConfigParser.php24 * @param string $file
27 public function parse($file) { argument
28 if(!file_exists($file)) return array();
31 $contents = @php_strip_whitespace($file);
36 include $file;
/dokuwiki/inc/Debug/
H A DDebugHelper.php104 * @param string $file
112 $file, argument
131 $file,
142 * @param string $file
150 $file, argument
158 'file' => $file,

1234567