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 = 'cau-lac-bo-spa-va-suc-khoe'
$city_slug = 'quang-ninh'
$city = array(
'City' => array(
'name' => 'Quảng Ninh',
'slug' => 'quang-ninh',
'image' => 'quang-ninh.png',
'lat' => '21.006382',
'lon' => '107.292514',
'id' => '37'
),
'District' => array(
(int) 0 => array(
'name' => 'Ba Chẽ',
'slug' => 'ba-che',
'city_id' => '37'
),
(int) 1 => array(
'name' => 'Cô Tô',
'slug' => 'co-to',
'city_id' => '37'
),
(int) 2 => array(
'name' => 'Hải Hà',
'slug' => 'hai-ha',
'city_id' => '37'
),
(int) 3 => array(
'name' => 'Tiên Yên',
'slug' => 'tien-yen',
'city_id' => '37'
),
(int) 4 => array(
'name' => 'Thành phố Cẩm Phả',
'slug' => 'thanh-pho-cam-pha',
'city_id' => '37'
),
(int) 5 => array(
'name' => 'Bình Liêu',
'slug' => 'binh-lieu',
'city_id' => '37'
),
(int) 6 => array(
'name' => 'Đông Triều',
'slug' => 'dong-trieu',
'city_id' => '37'
),
(int) 7 => array(
'name' => 'Hoành Bồ',
'slug' => 'hoanh-bo',
'city_id' => '37'
),
(int) 8 => array(
'name' => 'Hạ Long',
'slug' => 'ha-long',
'city_id' => '37'
),
(int) 9 => array(
'name' => 'Thành phố Móng Cái',
'slug' => 'thanh-pho-mong-cai',
'city_id' => '37'
),
(int) 10 => array(
'name' => 'Thành phố Uông Bí',
'slug' => 'thanh-pho-uong-bi',
'city_id' => '37'
),
(int) 11 => array(
'name' => 'Vân Đồn',
'slug' => 'van-don',
'city_id' => '37'
),
(int) 12 => array(
'name' => 'Thị xã Quảng Yên',
'slug' => 'thi-xa-quang-yen',
'city_id' => '37'
)
)
)
$directory = array(
'Directories' => array(
'name' => 'Câu lạc bộ spa và sức khỏe',
'slug' => 'cau-lac-bo-spa-va-suc-khoe',
'image' => null
)
)
$city_name = 'Quảng Ninh'
$ip = '216.73.216.17'
$http_response_header = array(
(int) 0 => 'HTTP/1.1 403 Forbidden',
(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