Parcourir la source

CLI-only

tags/v0.99.beta17
Ben Wiley Sittler bsittler il y a 16 ans
Parent
révision
415b54902d
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. +4
    -0
      caca-php/examples/import.php

+ 4
- 0
caca-php/examples/import.php Voir le fichier

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


Chargement…
Annuler
Enregistrer