Changeset 3279 for libcaca


Ignore:
Timestamp:
Nov 4, 2008, 6:22:24 AM (11 years ago)
Author:
bsittler
Message:

cli-only

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca-php/examples/unicode.php

    r3278 r3279  
    1818 *  http://sam.zoy.org/wtfpl/COPYING for more details.
    1919 */
     20
     21if (php_sapi_name() != "cli") {
     22        die("You have to run this program with php-cli!\n");
     23}
    2024
    2125$cv = caca_create_canvas(0, 0);
Note: See TracChangeset for help on using the changeset viewer.