Location: PHPKode > scripts > Prioritexter > Configurer.php
<?php
class Configurer {

  function Configurer() {
    $config_array = file(CONFIG_FILE) 
      OR Error::error("could not find config file.");

    $i=0;
    while (isset($config_array[$i]) {
      $line = $config_array[$i];
      if(ereg("define\(\".+\",\"(.*)\"\);.*//.*#a#\"?(.*)\"?#a#.*#b#\"?(.*)\"?#b#.*{#c#\"?(.*)\"?#c#.*}?"), $line, $regs) {
	echo "<p>value is $regs[0]; a is $regs[1]; a is $regs[1]; c is $regs[1].";
      }
    }

  }

}
>=?>
Return current item: Prioritexter