mirror of
https://github.com/twisterarmy/twister-phpbot.git
synced 2025-02-04 11:04:25 +00:00
set locale (for escapeshellarg)
This commit is contained in:
parent
ab95c86c0a
commit
8815f87c01
@ -1,6 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
mb_internal_encoding('UTF-8');
|
mb_internal_encoding('UTF-8');
|
||||||
|
setlocale(LC_CTYPE, 'en_US.UTF-8');
|
||||||
|
|
||||||
// Load RSS feed
|
// Load RSS feed
|
||||||
$feed_uri = 'http://habrahabr.ru/rss/hubs/new/';
|
$feed_uri = 'http://habrahabr.ru/rss/hubs/new/';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user