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 = '6999'
$slug = 'Ardennes_Trois_ressortissants_lituaniens_interpelles_avec_des_objets_voles'
$news = array(
'News' => array(
'id' => '6999',
'media_id' => '1062',
'type_id' => '2',
'title' => 'Ardennes : Trois ressortissants lituaniens interpellés avec des objets volés. ',
'text' => '<p style="margin: 0cm 0cm 8pt;">
<font face="Calibri">Lors d’un banal contrôle routier des douaniers ardennais, au carrefour de Mazagran, les forces de l’ordre ont interpellé trois ressortissants lituaniens en possession d’objets qui vont s’avérer être volés. Les trois individus qui ont été remis à la gendarmerie, ont été placés en garde à vue. En situation irrégulière, ils font l’objet d’une reconduite à la frontière. En attendant, ils ont été placés en centre de rétention. </font></p>
<p>
</p>
',
'sound1_id' => null,
'sound2_id' => null,
'important' => null,
'status' => '1',
'created' => '2016-10-06 18:54:14',
'updated' => '2016-10-07 08:59:57'
),
'Mmedia' => array(
'id' => '1062',
'folder_id' => '5',
'title' => 'douanes',
'mime_type' => 'image/jpeg',
'path' => '20161006185413.jpg',
'updated' => '2018-08-07 12:05:15',
'updated_by' => '0',
'created' => '2017-02-22 21:42:12',
'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