Projet

Général

Profil

Révision 9f05628b

Ajouté par Jocelyn Dealande il y a plus de 9 ans

moved the ref_points path to a constant.

Voir les différences:

ajax/all_points.php
2 2
require_once('../class/site_point.class.php');
3 3

  
4 4
function get_ref_points() {
5
	$ref_points_filename = '../ref_points.local.php';
6
	if (file_exists($ref_points_filename)) {
7
		include $ref_points_filename;
5
	if (file_exists(REF_POINTS_PATH)) {
6
		include REF_POINTS_PATH;
8 7
		return $ref_points;
9 8
	} else {
10 9
		return array();

Formats disponibles : Unified diff