pouet.net/include/constants.php
Laurent Raufaste 3e3a18afb2 Killed the cache folder, everything in tmp now
Also don't show any error when tmp is empty, as it should be emptiable
whenever we want.
2013-05-12 16:20:55 -04:00

21 lines
686 B
PHP

<?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
define('TMP_FOLDER', 'tmp');
// File used to check if scene.org is up, if not pouet goes read-only
define('SCENE_ORG_CHECK_FILE', TMP_FOLDER.'/IS_SCENE_ORG_UP');
// File used by the deploy script to store the commit that is currently
// deployed
define('LOCAL_COMMIT_FILE', TMP_FOLDER.'/LOCAL_COMMIT');
// File used by the github web hook to store the commit that is gonna be
// deployed next
define('REMOTE_COMMIT_FILE', TMP_FOLDER.'/REMOTE_COMMIT');