Lines Matching full:directory
164 * Generates the path to the directory contain this cache's serial files
177 * Generates path to base directory that contains all definition type
211 * Prepares the directory that this type stores the serials in
217 $directory = $this->generateDirectoryPath($config);
220 if (!@mkdir($directory) && !is_dir($directory)) {
222 'Could not create directory ' . $directory . '',
229 if (!is_dir($directory)) {
233 'Base directory ' . $base . ' does not exist,
241 if (!@mkdir($directory, $chmod) && !is_dir($directory)) {
243 'Could not create directory ' . $directory . '',
248 if (!$this->_testPermissions($directory, $chmod)) {
251 } elseif (!$this->_testPermissions($directory, $chmod)) {
258 * Tests permissions on a directory and throws out friendly
260 * @param string $dir Directory path
262 * @return bool True if directory is writable
274 'Directory ' . $dir . ' does not exist',
295 'Directory ' . $dir . ' not writable, ' .
302 'Directory ' . $dir . ' not writable, ' .