forked from ZwiiCMS-Team/ZwiiCMS
Droit dossiers récursifs
This commit is contained in:
parent
b9e5c6fb3a
commit
d3c3ce32bc
@ -36,7 +36,7 @@ class common {
|
|||||||
const THUMBS_WIDTH = 640;
|
const THUMBS_WIDTH = 640;
|
||||||
|
|
||||||
// Numéro de version
|
// Numéro de version
|
||||||
const ZWII_VERSION = '10.0.066';
|
const ZWII_VERSION = '10.0.067';
|
||||||
const ZWII_UPDATE_CHANNEL = "v10";
|
const ZWII_UPDATE_CHANNEL = "v10";
|
||||||
|
|
||||||
public static $actions = [];
|
public static $actions = [];
|
||||||
@ -794,7 +794,7 @@ class common {
|
|||||||
// Vérifier l'existence du dossier de destination.
|
// Vérifier l'existence du dossier de destination.
|
||||||
$fileInfo = pathinfo($dest);
|
$fileInfo = pathinfo($dest);
|
||||||
if (!is_dir($fileInfo['dirname'])) {
|
if (!is_dir($fileInfo['dirname'])) {
|
||||||
mkdir($fileInfo['dirname'],755,true);
|
mkdir($fileInfo['dirname'],0755,true);
|
||||||
}
|
}
|
||||||
// Type d'image
|
// Type d'image
|
||||||
switch( $fileInfo['extension']) {
|
switch( $fileInfo['extension']) {
|
||||||
|
Loading…
Reference in New Issue
Block a user