X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/recherche.php?a=blobdiff_plain;f=includes%2Fnormal%2FUtfNormalGenerate.php;h=f392df52aad026e7f70a8388a97646ec371bcfca;hb=6c163ad26532346ae30984ad1423ee4bf5aed561;hp=11d06d4ccd09cfc225274a186464e98704c43c75;hpb=deff65ec83f2b8af0bcf36f8ebe7c3dbc8daad93;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/normal/UtfNormalGenerate.php b/includes/normal/UtfNormalGenerate.php index 11d06d4ccd..f392df52aa 100644 --- a/includes/normal/UtfNormalGenerate.php +++ b/includes/normal/UtfNormalGenerate.php @@ -25,7 +25,7 @@ * @ingroup UtfNormal */ -if( php_sapi_name() != 'cli' ) { +if( PHP_SAPI != 'cli' ) { die( "Run me from the command line please.\n" ); }