Code Context $og_image['url'] = 'https://' . $_SERVER['HTTP_HOST'] . $og_image['path'];
list($og_image['width'], $og_image['height']) = getimagesize(WWW_ROOT . ltrim($og_image['path'], '/'));
$id = '3320'
$slug = 'Warnecourt_un_jeune_homme_de_20_ans_poignarde'
$news = array(
'News' => array(
'id' => '3320',
'media_id' => '1174',
'type_id' => '2',
'title' => 'Warnécourt : un jeune homme de 20 ans poignardé. ',
'text' => '<p>
Une rixe a éclaté dans la nuit de samedi à dimanche, dans une soirée bien arrosée, à la salle polyvalente de Warnécourt. Pour une raison que l'enquête devra déterminer un jeune homme de 20 ans a été poignardé à plusieurs reprises ( 5 à 7 coups de couteau). Grièvement blessé, avec un pronostic vital engagé, l'homme aurait été opéré dans la nuit. L'enquête ne fait que commencer. L'auteur des faits n'a pas encore été interpellé.</p>
',
'sound1_id' => null,
'sound2_id' => null,
'important' => null,
'status' => '1',
'created' => '2016-09-18 11:16:13',
'updated' => '2016-09-18 12:14:58'
),
'Mmedia' => array(
'id' => '1174',
'folder_id' => '5',
'title' => 'gendarmerie 01',
'mime_type' => 'image/jpeg',
'path' => '20160918111613.jpg',
'updated' => '2017-03-17 16:21:43',
'updated_by' => '0',
'created' => '2017-02-22 21:44:03',
'created_by' => '0',
'status' => '1'
),
'NewsType' => array(
'id' => '2',
'title' => 'Infos',
'alias' => 'infos',
'created' => '2016-10-24 16:29:11',
'updated' => '2017-02-11 13:27:51'
),
'Sound1' => array(
'id' => null,
'folder_id' => null,
'title' => null,
'mime_type' => null,
'path' => null,
'updated' => null,
'updated_by' => null,
'created' => null,
'created_by' => null,
'status' => null
),
'Sound2' => array(
'id' => null,
'folder_id' => null,
'title' => null,
'mime_type' => null,
'path' => null,
'updated' => null,
'updated_by' => null,
'created' => null,
'created_by' => null,
'status' => null
),
'NewsReporters' => array(
(int) 0 => array(
'id' => '1',
'name' => 'René Ait Braham',
'status' => '1',
'created' => '2016-10-24 16:18:44',
'updated' => '2026-11-01 16:30:12',
'MidgesNewsReportersLink' => array(
[maximum depth reached]
)
)
)
)
$og_image = array(
'path' => false,
'url' => 'https://dev.radio8fm.com'
)
getimagesize - [internal], line ??
NewsController::view() - APP/Plugin/MidgesNews/Controller/NewsController.php, line 299
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 218
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
[main] - APP/webroot/index.php, line 108
Commentaires
Pour poster un commentaire, vous devez Vous connecter ou Créer un compte