<?php
	if($this->request->prefix == 'admin'){
		$this->layout = 'admin'; 
		// if(!$this->Session->isLogged() || $this->Session->user('privilege') != 'admin'){
		// //	$this->redirect('adherent/connexion'); 
		// }
	}

	// if ($this->request->isAjax()){
	    // $this->layout = 'ajax';
	    // $this->request->ajax = true;
	// }
?>