Browse files

MDL-27398 mod_chat Adding CLI_SCRIPT to chat daemon

Credit to Jorge Villalon
  • Loading branch information...
1 parent 555112a commit 94e2c182fae9d8f9ed77b428a9dfd33ecdd69e2c @dmonllao dmonllao committed Aug 23, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 mod/chat/chatd.php
View
2 mod/chat/chatd.php
@@ -1,6 +1,8 @@
#!/usr/bin/php -q
<?php
+define('CLI_SCRIPT', true);
+
// Browser quirks
define('QUIRK_CHUNK_UPDATE', 0x0001);

0 comments on commit 94e2c18

Please sign in to comment.