Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 2449 → Rev 2450

/web/acc/admin/network.php
31,7 → 31,7
while (!feof($file_conf)) {
$buffer = fgets($file_conf, 4096);
if ((strpos($buffer, '=') !== false) && (substr($buffer, 0, 1) !== '#')) {
$tmp = explode('=', $buffer);
$tmp = explode('=', $buffer, 2);
$conf[trim($tmp[0])] = trim($tmp[1]);
}
}
339,7 → 339,7
while (!feof($file_conf)) {
$buffer = fgets($file_conf, 4096);
if ((strpos($buffer, '=') !== false) && (substr($buffer, 0, 1) !== '#')) {
$tmp = explode('=', $buffer);
$tmp = explode('=', $buffer, 2);
$conf[trim($tmp[0])] = trim($tmp[1]);
}
}
379,7 → 379,7
while (!feof($file_conf_LE)) {
$buffer = fgets($file_conf_LE, 4096);
if ((strpos($buffer, '=') !== false) && (substr($buffer, 0, 1) !== '#')) {
$tmp = explode('=', $buffer);
$tmp = explode('=', $buffer, 2);
$LE_conf[trim($tmp[0])] = trim($tmp[1]);
}
}
/web/acc/manager/htdocs/activity.php
22,7 → 22,7
while (!feof($file_conf)) {
$buffer = fgets($file_conf, 4096);
if ((strpos($buffer, '=') !== false) && (substr($buffer, 0, 1) !== '#')) {
$tmp = explode('=', $buffer);
$tmp = explode('=', $buffer, 2);
$conf[trim($tmp[0])] = trim($tmp[1]);
}
}
/web/acc/manager/lib/langues_imp.php
18,10 → 18,10
$ouvre = fopen($CONF_FILE, 'r');
if ($ouvre) {
while (!feof($ouvre)) {
$tampon = fgets($ouvre, 4096);
if (strpos($tampon, '=') !== false) {
$tmp = explode('=', $tampon);
$conf[$tmp[0]] = $tmp[1];
$buffer = fgets($ouvre, 4096);
if (strpos($buffer, '=') !== false) {
$tmp = explode('=', $buffer, 2);
$conf[trim($tmp[0])] = trim($tmp[1]);
}
}
fclose($ouvre);
/web/acc/menu.php
30,7 → 30,7
while (!feof($file_conf)) {
$buffer = fgets($file_conf, 4096);
if ((strpos($buffer, '=') !== false) && (substr($buffer, 0, 1) !== '#')) {
$tmp = explode('=', $buffer);
$tmp = explode('=', $buffer, 2);
$conf[trim($tmp[0])] = trim($tmp[1]);
}
}
/web/acc/phpsysinfo/includes/xml/portail.php
106,10 → 106,10
exit('Error opening the file '.CONF_FILE);
}
while (!feof($file_conf)) {
$tampon = fgets($file_conf, 4096);
if ((strpos($tampon, '=') !== false) && (substr($tampon, 0, 1) !== '#')) {
$tmp = explode('=', $tampon);
$conf[$tmp[0]] = trim($tmp[1]);
$buffer = fgets($file_conf, 4096);
if ((strpos($buffer, '=') !== false) && (substr($buffer, 0, 1) !== '#')) {
$tmp = explode('=', $buffer, 2);
$conf[trim($tmp[0])] = trim($tmp[1]);
}
}
fclose($file_conf);