]> git.immae.eu Git - github/shaarli/Shaarli.git/blame - application/FileUtils.php
install: check file/directory permissions for Shaarli resources
[github/shaarli/Shaarli.git] / application / FileUtils.php
CommitLineData
2e28269b
V
1<?php
2/**
3 * Exception class thrown when a filesystem access failure happens
4 */
5class IOException extends Exception
6{
7 private $path;
8
9 /**
10 * Construct a new IOException
11 *
12 * @param string $path path to the ressource that cannot be accessed
13 */
14 public function __construct($path)
15 {
16 $this->path = $path;
17 $this->message = 'Error accessing '.$this->path;
18 }
19}