bizou/config.php

19 lines
861 B
PHP
Raw Normal View History

2010-12-12 22:49:01 +01:00
<?php
## WARNING ##
# ALWAYS make sure your `DATA_DIR` and `DATA_URL` (resp. IMAGES_) are
# consistent. If you are using relative paths, it will be enforced by default.
# If you are using absolute paths (ie. `MEDIA_BASE_DIR` is absolute), you will
# have to make sure your web server serves `DATA_DIR` at `DATA_URL` (resp.
# IMAGES_).
#############
2010-12-12 22:49:01 +01:00
define('THUMB_SIZE', 100);
define('JPEG_QUALITY', '80');
define('MEDIA_BASE_DIR', ''); # Useful whenever those should be absolute locations
define('DATA_DIR', MEDIA_BASE_DIR . 'data');
define('DATA_URL', DATA_DIR); # Used in urls, but not in filesystem paths
define('IMAGES_DIR', MEDIA_BASE_DIR . 'images');
define('IMAGES_URL', IMAGES_DIR); # Used in urls, but not in filesystem paths
2012-08-19 10:22:37 +02:00
define('DATA_UMASK', 0002); # 0002: allow group to write for files created in data dir. change to 0022 to be more strict.
2010-12-12 22:49:01 +01:00
?>