Permalink
Browse files

MDL-27398 mod_chat Adding CLI_SCRIPT to chat daemon

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

0 comments on commit e54370d

Please sign in to comment.