Lines Matching refs:to
18 /** @var string full path to where the file will be downloaded to */
20 /** @var string full path to where the file will be extracted to */
22 /** @var string URL to the VERSION file of the new DokuWiki release */
24 /** @var string URL to the composer.json file of the new DokuWiki release */
26 /** @var string URL to the plugin.info.txt file of the upgrade plugin */
118 // check if PHP is up to date
201 * Check permissions of files to change
294 * Traverse over the given dir and compare it to the DokuWiki dir
312 $to = DOKU_INC . "$dir/$file";
317 if (!is_dir($to)) {
318 if (is_dir(dirname($to)) && !is_writable(dirname($to))) {
331 $tmd5 = md5(@file_get_contents($to));
332 if ($fmd5 != $tmd5 || !file_exists($to)) {
336 (file_exists($to) && !is_writable($to)) ||
337 (!file_exists($to) && is_dir(dirname($to)) && !is_writable(dirname($to)))
346 if (io_mkdir_p(dirname($to))) {
348 if (file_exists($to) && !@unlink($to)) {
353 if (!copy($from, $to)) {