Project

General

Profile

Revision 5bfbdfb4

Added by Jocelyn Dealande almost 8 years ago

changed code so that we can concatenate one or more ref_points files to ref_points.local.php

View differences:

class/RefPoint.class.php
31 31
  public static function load_if_needed() {
32 32
    if (!isset(self::$all_ref_points_cache)) {
33 33
      if (file_exists(REF_POINTS_PATH)) {
34
        $ref_points = array();
34 35
        require(REF_POINTS_PATH);
35 36
        self::$all_ref_points_cache = $ref_points;
36 37
        return $ref_points;

Also available in: Unified diff