Code Context // Tọa độ
$ip = $this->Function->get_client_ip();
$json = unserialize(file_get_contents("http://www.geoplugin.net/php.gp?ip=$ip"));
$directory_slug = 'rap-chieu-phim'
$city_slug = 'thua-thien-hue'
$city = array(
'City' => array(
'name' => 'Thừa Thiên Huế',
'slug' => 'thua-thien-hue',
'image' => 'lich-cat-dien-thua-thien-hue.png',
'lat' => '16.467397',
'lon' => '107.590533',
'id' => '26'
),
'District' => array(
(int) 0 => array(
'name' => 'Phong Điền',
'slug' => 'phong-dien',
'city_id' => '26'
),
(int) 1 => array(
'name' => 'Phú Vang',
'slug' => 'phu-vang',
'city_id' => '26'
),
(int) 2 => array(
'name' => 'A Lưới',
'slug' => 'a-luoi',
'city_id' => '26'
),
(int) 3 => array(
'name' => 'Nam Đông',
'slug' => 'nam-dong',
'city_id' => '26'
),
(int) 4 => array(
'name' => 'Phú Lộc',
'slug' => 'phu-loc',
'city_id' => '26'
),
(int) 5 => array(
'name' => 'Quảng Điền',
'slug' => 'quang-dien',
'city_id' => '26'
),
(int) 6 => array(
'name' => 'Hương Thủy',
'slug' => 'huong-thuy',
'city_id' => '26'
),
(int) 7 => array(
'name' => 'Hương Trà',
'slug' => 'huong-tra',
'city_id' => '26'
),
(int) 8 => array(
'name' => 'Thành phố Huế (Bắc)',
'slug' => 'tp-hue-bac',
'city_id' => '26'
),
(int) 9 => array(
'name' => 'Thành phố Huế (Nam)',
'slug' => 'tp-hue-nam',
'city_id' => '26'
)
)
)
$directory = array(
'Directories' => array(
'name' => 'Rạp chiếu phim',
'slug' => 'rap-chieu-phim',
'image' => null
)
)
$city_name = 'Thừa Thiên Huế'
$ip = '3.133.87.185'
$http_response_header = array(
(int) 0 => 'HTTP/1.1 429 Too Many Requests',
(int) 1 => 'cache-control: no-cache',
(int) 2 => 'content-type: application/json',
(int) 3 => 'connection: close'
)
file_get_contents - [internal], line ??
CitiesController::directory() - APP/Plugin/Manager/Controller/CitiesController.php, line 1156
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 491
CroogoAppController::invokeAction() - APP/Vendor/croogo/croogo/Croogo/Controller/CroogoAppController.php, line 220
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
require - APP/webroot/index.php, line 105
[main] - APP/index.php, line 18