Home
last modified time | relevance | path

Searched refs:ms_cfg_file (Results 1 – 4 of 4) sorted by relevance

/dports/net-mgmt/ocsinventory-ocsreports/ocsinventory-ocsreports/require/
H A Dfunction_files.php62 * @param string $ms_cfg_file name of file to read
69 function read_configuration($ms_cfg_file, $search, $id_field = '') { argument
70 if (!is_readable($ms_cfg_file)) {
73 $fd = fopen($ms_cfg_file, "r");
112 function update_config_file($ms_cfg_file, $new_value, $sauv = 'YES') { argument
114 getcopy_config_file($ms_cfg_file);
116 $ms_cfg_file = $_SESSION['OCS']['CONF_PROFILS_DIR'] . $ms_cfg_file . "_config.txt";
130 $file = fopen($ms_cfg_file, "w+");
135 function getcopy_config_file($ms_cfg_file, $record = 'YES', $sauv = false) { argument
145 $ms_cfg_file = $_SESSION['OCS']['CONF_PROFILS_DIR'] . $ms_cfg_file . "_config.txt";
[all …]
H A Dfunction_commun.php260 $ms_cfg_file = $_SESSION['OCS']['CONF_PROFILS_DIR'] . $name . "_config.txt";
265 return read_files($search, $ms_cfg_file, $writable);
270 $ms_cfg_file = $_SESSION['OCS']['CONF_PROFILS_DIR'] . "4all_config.txt";
281 return read_files($search, $ms_cfg_file, $writable);
284 function read_files($search, $ms_cfg_file, $writable = '') { argument
286 if (!is_writable($ms_cfg_file) && $writable != '') {
287 msg_error($ms_cfg_file . " " . $l->g(1006) . ". " . $l->g(1147));
291 if (file_exists($ms_cfg_file)) {
292 $profil_data = read_configuration($ms_cfg_file, $search);
/dports/net-mgmt/ocsinventory-ocsreports/ocsinventory-ocsreports/plugins/language/
H A Dlanguage.php25 $ms_cfg_file = $Directory . "/lang_config.txt"; variable
27 if (file_exists($ms_cfg_file)) {
29 $language_data = read_configuration($ms_cfg_file, $search);
/dports/net-mgmt/ocsinventory-ocsreports/ocsinventory-ocsreports/plugins/main_sections/ms_snmp/
H A Dms_snmp_detail.php130 $ms_cfg_file = $Directory . "snmp_config.txt"; variable
132 if (file_exists($ms_cfg_file)) {
134 $plugins_data = read_configuration($ms_cfg_file, $search);