Changeset 2060
- Timestamp:
- 12/12/07 23:28:29 (7 months ago)
- Files:
-
- alternc/trunk/bureau/class/local.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
alternc/trunk/bureau/class/local.php
r1012 r2060 15 15 $config_file = fopen('/etc/alternc/local.sh', 'r'); 16 16 while (FALSE !== ($line = fgets($config_file))) { 17 if (ereg(' ([A-Z0-9_]*)="([^"]*)"', $line, $regs)) {17 if (ereg('^([A-Z0-9_]*)="([^"]*)"', $line, $regs)) { 18 18 $GLOBALS['L_'.$regs[1]] = $regs[2]; 19 19 if (isset($compat[$regs[1]])) {
