2017-08-04 16:28:16 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
include_once __DIR__.'/../../core.php';
|
|
|
|
|
|
|
|
$cmp = \Util\Ini::getList($docroot.'/files/my_impianti/');
|
|
|
|
|
|
|
|
if (!empty($id_record) && isset($cmp[$id_record - 1])) {
|
2018-07-18 15:20:10 +02:00
|
|
|
$record['nomefile'] = $cmp[$id_record - 1][0];
|
|
|
|
$record['contenuto'] = file_get_contents($docroot.'/files/my_impianti/'.$record['nomefile']);
|
2017-08-04 16:28:16 +02:00
|
|
|
}
|