Home
last modified time | relevance | path

Searched refs:dir (Results 1 – 4 of 4) sorted by relevance

/web-bugs/src/Utils/
H A DCache.php22 private $dir; variable in App\\Utils\\Cache
32 public function __construct(string $dir) argument
34 $this->dir = $dir;
37 if (!file_exists($this->dir)) {
38 mkdir($this->dir, 0777, true);
39 chmod($this->dir, 0777);
43 if (!is_dir($this->dir)) {
62 file_put_contents($this->dir.'/'.$key.'.php', $string);
74 $file = $this->dir.'/'.$key.'.php';
98 $file = $this->dir.'/'.$key.'.php';
[all …]
H A DUploader.php32 private $dir; variable in App\\Utils\\Uploader
67 public function setDir(string $dir): void argument
69 $this->dir = $dir;
135 $destination = $this->dir.'/'.$this->destinationFileName;
177 if (!file_exists($this->dir.'/'.$newName)) {
/web-bugs/src/Template/
H A DEngine.php16 private $dir; variable in App\\Template\\Engine
43 public function __construct(string $dir) argument
45 if (!is_dir($dir)) {
46 throw new \Exception($dir.' is missing or not a valid directory.');
49 $this->dir = $dir;
96 $this->dir,
118 if (!is_file($this->dir.'/'.$template)) {
139 include $this->dir.'/'.$this->current;
H A DContext.php16 private $dir; variable in App\\Template\\Context
64 string $dir, argument
68 $this->dir = $dir;
152 return include $this->dir.'/'.$template;

Completed in 9 milliseconds