浏览代码

install updates, mail work.

Nathaniel van Diepen 10 年之前
父节点
当前提交
bcec1269cf
共有 2 个文件被更改,包括 4 次插入0 次删除
  1. 3 0
      api.php
  2. 1 0
      install/example.cron

+ 3 - 0
api.php

@@ -461,6 +461,9 @@
 								}
 								retj($ret);
 							break;
+							case 'mailqueue':
+								die();
+							break;
 							default:
 								retj(array(
 									'error'=>'Invalid action.'

+ 1 - 0
install/example.cron

@@ -0,0 +1 @@
+*/5 * * * * wget -q http://your.url.here/api.php?type=action&id=mailqueue > /dev/null 2>&1