Subversion Repositories Applications.referentiel

Rev

Rev 346 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 346 Rev 399
Line 163... Line 163...
163
		}
163
		}
164
		return $doc;
164
		return $doc;
165
	}
165
	}
Line 166... Line 166...
166
	
166
	
167
	protected function initialiserModulePrincipal() {
167
	protected function initialiserModulePrincipal() {
168
		$_SESSION['module_principal'] = null;
168
		$GLOBALS['module_principal'] = null;
Line 169... Line 169...
169
	}
169
	}
170
	
170
	
171
	protected function definirCommeModulePrincipal($module_nom) {
171
	protected function definirCommeModulePrincipal($module_nom) {
Line 172... Line 172...
172
		$_SESSION['module_principal'] = $module_nom;
172
		$GLOBALS['module_principal'] = $module_nom;
173
	}
173
	}
174
 
174
 
Line 175... Line 175...
175
	private function getModulePrincipalCourant() {
175
	private function getModulePrincipalCourant() {
176
		return $_SESSION['module_principal'];
176
		return $GLOBALS['module_principal'];
177
	}
177
	}
Line 597... Line 597...
597
		header('WWW-Authenticate: Basic realm="'.mb_convert_encoding($message_accueil, 'ISO-8859-1', 'UTF-8').'"');
597
		header('WWW-Authenticate: Basic realm="'.mb_convert_encoding($message_accueil, 'ISO-8859-1', 'UTF-8').'"');
598
		header('Content-type: text/plain; charset=UTF-8');
598
		header('Content-type: text/plain; charset=UTF-8');
599
		print $message_echec;
599
		print $message_echec;
600
		exit(0);
600
		exit(0);
601
	}
601
	}
602
}
-
 
603
602
}
-
 
603