Changeset 3177 for libcaca/trunk/caca-php/examples/polyline.php
- Timestamp:
- Nov 1, 2008, 3:06:43 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/caca-php/examples/polyline.php
r3175 r3177 19 19 } 20 20 21 if ( !posix_isatty(STDOUT))21 if (php_sapi_name() != "cli") { 22 22 die("You have to run this program with php-cli!\n"); 23 } 23 24 24 25 $canvas = caca_create_canvas(0, 0);
Note: See TracChangeset
for help on using the changeset viewer.