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 = '9208'
$slug = 'Vol_avec_violence_dans_un_magasin_de_musique_a_Charleville_Mezieres'
$news = array(
'News' => array(
'id' => '9208',
'media_id' => '4040',
'type_id' => '2',
'title' => 'Vol avec violence dans un magasin de musique à Charleville-Mézières',
'text' => '<p style="margin-bottom: 0cm">
Ce lundi, vers 18 heures 50, un individu en état d'ébriété entre dans un magasin de musique, rue de Flandres, à Charleville-Mézières, et vole une guitare qui se trouve exposée sur un présentoir. La commerçante, cherchant à l'en empêcher, sera vivement bousculée. A la sortie du magasin, des riverains immobilisent l'individu. Une patrouille de police, à proximité des lieux, intervient immédiatement. Il fera l'objet d'une comparution sur reconnaissance préalable de culpabilité au mois de décembre prochain.</p>
',
'sound1_id' => null,
'sound2_id' => null,
'important' => null,
'status' => '0',
'created' => '2017-10-03 20:32:47',
'updated' => '2017-10-03 20:32:47'
),
'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' => '3',
'name' => 'Candide Blomme',
'status' => '1',
'created' => '2017-09-14 08:10:01',
'updated' => '2017-09-14 08:10:01',
'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