Overview
Comment:Typo
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | dev
Files: files | file ages | folders
SHA1: 5bb0340c893e8accc83f8784f90fe271c1467452
User & Date: bohwaz on 2017-10-12 11:29:30
Other Links: branch diff | manifest | tags
Context
2017-10-13
01:46
Correction clé CSRF check-in: f8bc03e2e8 user: bohwaz tags: dev
2017-10-12
11:29
Typo check-in: 5bb0340c89 user: bohwaz tags: dev
11:16
Corrige création des dossiers à la mise à jour aussi check-in: 4ba838b75e user: bohwaz tags: dev
Changes

Modified src/include/lib/Garradin/Install.php from [1fe98d6e7d] to [1ed25c3eb1].

137
138
139
140
141
142
143
144
145
146
147
148
149
150
151

		    if (!is_dir($path))
		    {
		    	throw new UserException('Le répertoire '.$path.' n\'existe pas ou n\'est pas un répertoire.');
		    }

		    // On en profite pour vérifier qu'on peut y lire et écrire
		    if (!is_writable($path) || !s_readable($path))
		    {
		    	throw new UserException('Le répertoire '.$path.' n\'est pas accessible en lecture/écriture.');
		    }
		}

		return true;
	}







|







137
138
139
140
141
142
143
144
145
146
147
148
149
150
151

		    if (!is_dir($path))
		    {
		    	throw new UserException('Le répertoire '.$path.' n\'existe pas ou n\'est pas un répertoire.');
		    }

		    // On en profite pour vérifier qu'on peut y lire et écrire
		    if (!is_writable($path) || !is_readable($path))
		    {
		    	throw new UserException('Le répertoire '.$path.' n\'est pas accessible en lecture/écriture.');
		    }
		}

		return true;
	}