Changeset 2114
- Timestamp:
- 04/12/08 22:01:07 (5 months ago)
- Files:
-
- alternc/trunk/bureau/class/local.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
alternc/trunk/bureau/class/local.php
r2060 r2114 1 1 <?php 2 2 3 /* Read global variables (AlternC configuration) */ 3 4 4 $L_VERSION="v. @@REPLACED_DURING_BUILD@@"; 5 5 … … 8 8 'MYSQL_USER' => 'MYSQL_LOGIN', 9 9 'MYSQL_PASS' => 'MYSQL_PWD', 10 'NS1_HOSTNAME' => 'NS1', 11 'NS2_HOSTNAME' => 'NS2' 12 ); 10 'NS1_HOSTNAME' => 'NS1', 11 'NS2_HOSTNAME' => 'NS2'); 13 12 14 13 … … 17 16 if (ereg('^([A-Z0-9_]*)="([^"]*)"', $line, $regs)) { 18 17 $GLOBALS['L_'.$regs[1]] = $regs[2]; 19 if (isset($compat[$regs[1]])) {20 $GLOBALS['L_'.$compat[$regs[1]]] = $regs[2];21 }18 if (isset($compat[$regs[1]])) { 19 $GLOBALS['L_'.$compat[$regs[1]]] = $regs[2]; 20 } 22 21 } 23 22 } 23 24 24 fclose($config_file); 25 ?>
