瀏覽代碼

CLI-only

tags/v0.99.beta17
Ben Wiley Sittler bsittler 16 年之前
父節點
當前提交
415b54902d
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. +4
    -0
      caca-php/examples/import.php

+ 4
- 0
caca-php/examples/import.php 查看文件

@@ -18,6 +18,10 @@
* http://sam.zoy.org/wtfpl/COPYING for more details.
*/

if (php_sapi_name() != "cli") {
die("You have to run this program with php-cli!\n");
}

$imports = caca_get_import_list();

if($argc < 2 || $argc > 3)


Loading…
取消
儲存