1<?php
2/**
3 * DokuWiki Plugin photogallery (Common defines)
4 *
5 * @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
6 * @author  Marco Nolletti
7 */
8
9if(!defined('PHOTOGALLERY_REL')) define('PHOTOGALLERY_REL',DOKU_REL.'lib/plugins/photogallery/');
10if(!defined('PHOTOGALLERY_PGFETCH')) define('PHOTOGALLERY_PGFETCH','pgFetch.php');
11if(!defined('PHOTOGALLERY_PGFETCH_REL')) define('PHOTOGALLERY_PGFETCH_REL',PHOTOGALLERY_REL.PHOTOGALLERY_PGFETCH);
12if(!defined('PHOTOGALLERY_PGFETCH_FILE')) define('PHOTOGALLERY_PGFETCH_FILE',realpath(__DIR__.'/../'.PHOTOGALLERY_PGFETCH));
13if(!defined('PHOTOGALLERY_IMAGES_REL')) define('PHOTOGALLERY_IMAGES_REL',PHOTOGALLERY_REL.'images/');
14if(!defined('PHOTOGALLERY_IMAGES_FILE')) define('PHOTOGALLERY_IMAGES_FILE',realpath(__DIR__.'/../images').'/');
15if(!defined('PHOTOGALLERY_PGFETCH_EXE_PERM')) define('PHOTOGALLERY_PGFETCH_EXE_PERM',0110); // Owner and group execute permission in octal notation