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 = '10577'
$slug = 'Un_jeune_sedanais_condamne_pour_conduite_sans_permis'
$news = array(
'News' => array(
'id' => '10577',
'media_id' => '6721',
'type_id' => '2',
'title' => 'Un jeune sedanais condamné pour conduite sans permis ',
'text' => '<p align="JUSTIFY" style="margin-bottom: 0.26cm; background: rgb(255, 255, 255); border: none; padding: 0cm;">
Le lundi 21, un jeune homme de 26 ans, originaire de Sedan, a alerté les gendarmes par une conduite anormale. Au moment d'être contrôlé, le jeune homme a pris la fuite. Pris en chasse, les gendarmes ont finalement abandonné la poursuite pour raisons de sécurité. L'homme s'est présenté de lui-même le lendemain au commissariat. Il conduisait en réalité sans être titulaire du permis de conduire. Jugé en comparution immédiate ce mardi, il a été condamné à 4 mois de prison et une révocation de sursis à hauteur d'un mois, sans mandat de dépôt.</p>
',
'sound1_id' => null,
'sound2_id' => null,
'important' => null,
'status' => '1',
'created' => '2018-05-23 06:59:55',
'updated' => '2018-05-23 09:48:35'
),
'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