2013-05-11 20:33:54 -04:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Some usefull constants used around the code base
|
|
|
|
*/
|
|
|
|
|
|
|
|
// Folder used to store temporary stuff like cache or state files
|
|
|
|
// Any file in this folder should be deleted without impacting pouet
|
|
|
|
// Just making thinks slower
|
2013-05-12 16:20:55 -04:00
|
|
|
define('TMP_FOLDER', 'tmp');
|
2013-05-11 20:33:54 -04:00
|
|
|
|
|
|
|
// File used to check if scene.org is up, if not pouet goes read-only
|
2013-05-12 16:20:55 -04:00
|
|
|
define('SCENE_ORG_CHECK_FILE', TMP_FOLDER.'/IS_SCENE_ORG_UP');
|
2013-05-11 20:42:45 -04:00
|
|
|
|
|
|
|
// File used by the deploy script to store the commit that is currently
|
|
|
|
// deployed
|
2013-05-12 16:20:55 -04:00
|
|
|
define('LOCAL_COMMIT_FILE', TMP_FOLDER.'/LOCAL_COMMIT');
|
2013-05-11 20:42:45 -04:00
|
|
|
|
|
|
|
// File used by the github web hook to store the commit that is gonna be
|
|
|
|
// deployed next
|
2013-05-12 16:20:55 -04:00
|
|
|
define('REMOTE_COMMIT_FILE', TMP_FOLDER.'/REMOTE_COMMIT');
|