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 = '7452'
$slug = 'Bazeilles_depart_de_feu_chez_Unilin_70_salaries_evacues'
$news = array(
'News' => array(
'id' => '7452',
'media_id' => '466',
'type_id' => '2',
'title' => 'Bazeilles : départ de feu chez Unilin, 70 salariés évacués !',
'text' => '<p>
Les pompiers des Ardennes sont intervenus ce mardi vers 10h15 pour un début d'incendie au sein de l'usine Unilin implantée sur la commune de Bazeilles. Le feu a démarré sur une presse dans une gaine de ventilation avant de provoquer un fort dégagement de fumée. 70 salariés présents dans le bâtiment de 500m2 ont du être évacués avant l'arrivée des secours. Les pompiers de Sedan, Mouzon et Brevilly sont intervenus sur ce sinistre. Sinistre qui ne devait pas impacter la production . </p>
',
'sound1_id' => null,
'sound2_id' => null,
'important' => null,
'status' => '1',
'created' => '2017-01-10 16:56:16',
'updated' => '2017-01-10 17:14:23'
),
'Mmedia' => 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
),
'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