]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/blobdiff - cfg/defines.php
Bump inactivity timeout from 15min to 60min. Will be customizable later...
[irc/unrealircd/unrealircd-webpanel.git] / cfg / defines.php
index f4a948a4ec9e95ef9e0ba8a3d9ea263df81208b4..ace955a6359ac0557faaef1653d86e768c049ad9 100644 (file)
@@ -1,3 +1,26 @@
 <?php
 
-define('WEBPANEL_VERSION', "1.0-git");
\ No newline at end of file
+/**
+ * Default length of time a "Quick Action" from the
+ * channel details page should be.
+ * This is in minutes. Default is 60.
+ * 
+ * You can change this to suit your needs
+ */
+define('DEFAULT_CHAN_DETAIL_QUICK_ACTION_TIME', 60);
+
+/**
+ * Default reason for a quick-ban from the channel
+ * details page.
+ */
+define('DEFAULT_CHAN_DETAIL_QUICK_BAN_REASON', "You have been removed from this channel.");
+/**
+ * The version of our webpanel
+ */
+define('WEBPANEL_VERSION', "1.0-git");
+
+/**
+ * After how long to log a user out for inactivity
+ * Set to 1 hour for now, will be customizable later.
+ */
+define('INACTIVITY_TIMEOUT', 3600);