Home
last modified time | relevance | path

Searched refs:file (Results 176 – 200 of 3491) sorted by relevance

12345678910>>...140

/plugin/scrape/HTMLPurifier/ConfigSchema/
H A DInterchangeBuilder.php
/plugin/combo/vendor/php-webdriver/webdriver/lib/Remote/
H A DLocalFileDetector.php8 * @param string $file
12 public function getLocalFile($file) argument
14 if (is_file($file)) {
15 return realpath($file);
/plugin/elasticsearch/conf/
H A Delasticsearch.conf.example1 # This file is an example. The real configuration must be done in conf/elasticsearch.conf
3 # Use this file to setup media parsers. The parsers must return text or JSON.
5 # Configure one file type per line: file extension followed by parser location (full file system path or URL).
6 # You can use %in% for the input file.
/plugin/jquotes/
H A Dhelper.php35 $file = mediaFN($cookieID);
38 if(!file_exists($file)) throw new Exception("No quotes file at $cookieID");
40 return $file;
51 $file = self::id2file($cookieID);
56 $jsonFile = file_get_contents($file);
/plugin/projects/lib/
H A Dlayout.php15 protected $file = NULL; variable in ProjectFileLayout
24 public function __construct($project, $ID, $file) { argument
28 $this->file = $file;
56 $deps = $this->file->dependency();
87 $type = $this->file->type();
142 public function __construct($project, $ID, $file) { argument
143 parent::__construct($project, $ID, $file);
145 $this->display = $file->attribute('display');
189 public function __construct($project, $name, $file) { argument
190 parent::__construct($project, $name, $file);
[all …]
H A Dtools.php22 while (($file = readdir($dh)) !== false) {
23 if ($file === '.' || $file === '..') continue;
24 $file = $dir . $file;
25 if (is_dir($file))
26 delete_dir($file . '/');
28 unlink($file);
153 $mime = $finfo->file($path);
/plugin/news/
H A Dadmin.php178 while (($file = readdir($dh)) !== false) {
179 if($file == '.' || $file == '..') continue;
180 if(is_dir($dir . $file)) {
181 if($this->subfeed_selected == $index || $file == $sbname_check) {
182 ptln("<option value='$file' selected>$file</option>");
185 ptln("<option value='$file' >$file</option>");
226 $file = metaFN($meta_dir . $d, '.gz');
227 if(file_exists($file)) {
228 @unlink($file);
/plugin/owncloud/
H A Daction.php90 $file = str_replace($conf['mediadir'],'/'.self::WIKISTORAGE,$event->data[1]);
94 …case self::FILEUPDATE: $file = str_replace($conf['mediadir'],'/'.self::WIKISTORAGE,$event->data[1]…
95 OC\Files\Cache\Updater::writeUpdate($file);
99 …case self::FILEREMOVE: $file = str_replace($conf['mediadir'],'/'.self::WIKISTORAGE,$event->data['p…
100 OC\Files\Cache\Updater::deleteUpdate($file);
233 function fixDescription($file,$x=1){ argument
236 $file = $conf['mediametadir'].'/'.$file.'.changes';
237 if(file_exists($file)){
238 $meta = file($file);
253 io_saveFile($file,implode("", $meta));
/plugin/shell/lang/en/
H A Dhelp.txt5 …* ''download <file>'' - Download a file from the server. The file will be sent to your browser, so…
6 …* ''upload <file>'' - Upload a file to the server. Your browser will ask you for a file to upload …
/plugin/sequencediagram/bower_components/lodash/lib/fp/
H A Dbuild-modules.js8 const file = require('../common/file'); constant
13 const template = file.globTemplate(path.join(templatePath, '*.jst'));
138 return file.write(path.join(fpPath, moduleName + '.js'), getTemplate(moduleName));
141 actions.unshift(file.copy(path.join(__dirname, '../../fp'), fpPath));
142 actions.push(file.write(path.join(fpPath, '_falseOptions.js'), template._falseOptions()));
143 actions.push(file.write(path.join(fpPath, '_util.js'), template._util()));
144 actions.push(file.write(path.join(target, 'fp.js'), template.fp()));
145 actions.push(file.write(path.join(fpPath, 'convert.js'), template.convert()));
/plugin/nspages/fileHelper/
H A DpagePreparer.php34 function isFileWanted($file, $useTitle){ argument
36 return ($file['type'] != 'd')
37 && parent::isFileWanted($file, $useTitle)
38 && $this->passSubNsfilterInRecursiveMode($file)
39 && (!$this->excludeSelfPage || $ID !== $file['id']);
42 function prepareFileTitle(&$file){ argument
46 private function passSubNsfilterInRecursiveMode($file){ argument
47 $subNss = explode(':', $file['id']);
/plugin/news/scripts/
H A DfeedData.php43 $file = $this->helper->getMetaFN($md5, '.gz');
44 if(@file_exists($file)) {
50 function _readFile($file, $ser=false) { argument
51 $ret = io_readFile($file,$ser);
138 $file = $this->_dataFN();
139 $ar = $this->_readFile($file, true);
149 $file = $this->_dataFN();
150 if(!$file) {
154 $this->rss_data = $this->_readFile($file, true);
/plugin/farmsync/meta/
H A DTemplateUpdates.php82 while (($file = readdir($dh)) !== false) {
83 if (preg_match('/^[\.]/', $file)) continue;
84 if (is_dir($base . '/' . $dir . '/' . $file)) {
85 $dirs[] = $dir . '/' . $file;
88 if (substr($file, 0, 1) !== '_') continue;
89 $files[] = $dir . '/' . $file;
92 foreach ($files as $file) {
94 if (substr($file, -4) != '.txt') continue;
95 $items[] = array('id' => pathID($file));
/plugin/findologicxmlexport/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/
H A DAnnotationRegistry.php64 public static function registerFile(string $file) : void argument
66 require_once $file;
146 $file = \str_replace('\\', \DIRECTORY_SEPARATOR, $class) . '.php';
149 if ($path = stream_resolve_include_path($file)) {
155 if (is_file($dir . \DIRECTORY_SEPARATOR . $file)) {
156 require $dir . \DIRECTORY_SEPARATOR . $file;
/plugin/farm/install/
H A Dfarmstructurecreator.php.bak39 $file = null;
42 if(!$file) return '';
43 if(!$s) return trim(@file_get_contents($file));
44 if($fp = fopen($file, 'w')) {
106 }else die('Could not create barn rewrite file');
128 // Copy preload file
136 $file = $farmconf['farmwebroot'].'farm.wsdl';
137 $wsdl = str_replace('{wsdl}', $file, $wsdl);
146 // Copy trusted application config file
159 }else die('Could not update rewrite file');
[all …]
/plugin/findologicxmlexport/vendor/symfony/yaml/Command/
H A DLintCommand.php104 foreach ($this->getFiles($filename) as $file) {
105 $filesInfo[] = $this->validate(file_get_contents($file), $flags, $file);
112 private function validate($content, $flags, $file = null) argument
114 …$prevErrorHandler = set_error_handler(function ($level, $message, $file, $line) use (&$prevErrorHa…
119 return $prevErrorHandler ? $prevErrorHandler($level, $message, $file, $line) : false;
125 …return ['file' => $file, 'line' => $e->getParsedLine(), 'valid' => false, 'message' => $e->getMess…
130 return ['file' => $file, 'valid' => true];
193 foreach ($this->getDirectoryIterator($fileOrDirectory) as $file) {
194 if (!\in_array($file->getExtension(), ['yml', 'yaml'])) {
198 yield $file;
/plugin/diagramsnet/lib/js/diagramly/
H A DDropboxClient.js404 var file = null;
421 success((file != null) ? file :
623 if (file != null && filename != null)
634 …if (file != null && filename != null && file.stat.path_lower.substring(1) !== filename.toLowerCase…
833 [file.name]), mxUtils.bind(this, function()
868 this.ui.loadFile((path != null) ? 'D' + encodeURIComponent(path) : file.getHash(), null, file);
902 fn(path, file);
927 var file = null;
945 fn(rel.substring(1), (file != null) ? file : new DropboxFile(this.ui, data, stat));
977 var binary = /(\.png)$/i.test(file.name);
[all …]
/plugin/qc/action/
H A Dcron.php23 protected $file;
31 $this->file = $conf['tmpdir'] . '/qcgather';
62 if (is_file($this->file)) {
63 $persist = file_get_contents($this->file);
79 file_put_contents($this->file, $persist);
20 protected $file; global() variable in action_plugin_qc_cron
/plugin/tiledblog/
H A Dajax.php38 while (false !== ($file = readdir ($pathDirObj))) { variable
39 if (in_array (strtolower ($file), $exclude_array))
41 $pathFile = $pathDir.$file;
44 if (eregi ('.*-tile\.cache$', $file, $b) ||
45 eregi ('.*-sample\.cache$', $file, $b))
/plugin/findologicxmlexport/vendor/phpunit/phpunit/
H A Dphpunit30 …./autoload.php', __DIR__ . '/../vendor/autoload.php', __DIR__ . '/vendor/autoload.php') as $file) {
31 if (file_exists($file)) {
32 define('PHPUNIT_COMPOSER_INSTALL', $file);
38 unset($file);
/plugin/findologicxmlexport/vendor/phpunit/php-code-coverage/src/Driver/
H A DPHPDBG.php78 foreach ($sourceLines as $file => $lines) {
80 $sourceLines[$file][$lineNo] = self::LINE_NOT_EXECUTED;
99 foreach ($dbgData as $file => $coveredLines) {
103 if (isset($sourceLines[$file][$lineNo])) {
104 $sourceLines[$file][$lineNo] = self::LINE_EXECUTED;
/plugin/findologicxmlexport/vendor/phpunit/php-code-coverage/src/
H A DFilter.php37 foreach ($files as $file) {
38 $this->addFileToWhitelist($file);
59 foreach ($files as $file) {
60 $this->addFileToWhitelist($file);
76 foreach ($files as $file) {
77 $this->removeFileFromWhitelist($file);
/plugin/confmanager/lang/en/
H A Dmime.txt1 Which file types you can upload via the [[doku>media_manager]] is configured through the ''conf/mim…
3 For security reasons it is not possible to configure [[doku>DokuWiki]] to allow any file type.
5 …e [[doku>config:iexssprotect]] option additionally to adding the HTML mime type in the config file.
9 You can find any file extension with it's mime at http://filext.com/
/plugin/displayorphans/
H A Dhelper.php52 …function /* bool */ _filterItem(&$data, $base, /* string */ $file, /* string */ $type, $lvl, $opts) argument
55 else if (!preg_match("/.*\.txt$/", $file)) { return true; }
57 $id = pathID($file);
63 $links = $this->_findLinks($file);
72 function /* array */ _findLinks(/* string */ $file) argument
76 $id = pathID($file);
77 $text = @file_get_contents($conf['datadir'] . $file);
/plugin/unusedmedias/admin/
H A Dlist.php45 $file = mediaFN($mediaToDelete);
47 if(file_exists($file)){
52 $data['name'] = basename($file);
53 $data['path'] = $file;
54 $data['size'] = (@file_exists($file)) ? filesize($file) : 0;
60 $data['unl'] = @unlink($file);

12345678910>>...140