Files
gallery3/installer/init_var.php
T
Bharat Mediratta 6df1dffed1 Do some data normalization so that the install files will have stable
ordering and known values.  This way subsequent packaging runs won't
have any differences unless there's a real data change.
2009-03-20 08:22:57 +00:00

9 lines
449 B
PHP

<?php defined("SYSPATH") or die("No direct script access.") ?>
<?php
!file_exists(VARPATH . "albums") && mkdir(VARPATH . "albums");
!file_exists(VARPATH . "logs") && mkdir(VARPATH . "logs");
!file_exists(VARPATH . "modules") && mkdir(VARPATH . "modules");
!file_exists(VARPATH . "resizes") && mkdir(VARPATH . "resizes");
!file_exists(VARPATH . "thumbs") && mkdir(VARPATH . "thumbs");
!file_exists(VARPATH . "uploads") && mkdir(VARPATH . "uploads");