mirror of
https://github.com/devcode-it/openstamanager.git
synced 2024-12-24 06:30:20 +01:00
11 lines
316 B
PHP
11 lines
316 B
PHP
<?php
|
|
|
|
include_once __DIR__.'/../../core.php';
|
|
|
|
$cmp = \Util\Ini::getList($docroot.'/files/my_impianti/');
|
|
|
|
if (!empty($id_record) && isset($cmp[$id_record - 1])) {
|
|
$record['nomefile'] = $cmp[$id_record - 1][0];
|
|
$record['contenuto'] = file_get_contents($docroot.'/files/my_impianti/'.$record['nomefile']);
|
|
}
|