Explorar el Código

CLI-only

tags/v0.99.beta17
Ben Wiley Sittler bsittler hace 16 años
padre
commit
415b54902d
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. +4
    -0
      caca-php/examples/import.php

+ 4
- 0
caca-php/examples/import.php Ver fichero

@@ -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)


Cargando…
Cancelar
Guardar