Subversion Repositories ALCASAR

Rev

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

Rev 2521 Rev 2607
Line 17... Line 17...
17
 *   along with this program; if not, write to the                         *
17
 *   along with this program; if not, write to the                         *
18
 *   Free Software Foundation, Inc.,                                       *
18
 *   Free Software Foundation, Inc.,                                       *
19
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
19
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
20
 ***************************************************************************/
20
 ***************************************************************************/
21
 
21
 
22
// $Id: portail.php 2521 2018-04-02 19:46:16Z armand.ito $
22
// $Id: portail.php 2607 2018-08-20 00:16:04Z tom.houdayer $
23
 
23
 
24
// xml_utilisateur()
24
// xml_utilisateur()
25
 
25
 
26
function request ($texte) {
26
function request ($texte) {
27
		$strResult = 0;
27
		$strResult = 0;
Line 112... Line 112...
112
			$conf[trim($tmp[0])] = trim($tmp[1]);
112
			$conf[trim($tmp[0])] = trim($tmp[1]);
113
		}
113
		}
114
	}
114
	}
115
	fclose($file_conf);
115
	fclose($file_conf);
116
 
116
 
117
	exec ("sudo /usr/local/bin/alcasar-watchdog.sh -lt");
-
 
118
	// Get current version
117
	// Get current version
119
	$INSTALLEDVERSION = $conf['VERSION'];
118
	$INSTALLEDVERSION = $conf['VERSION'];
120
	$VERSIONBL = date ("F d Y", filemtime ('/etc/e2guardian/lists/blacklists/README'));
119
	$VERSIONBL = date ("F d Y", filemtime ('/etc/e2guardian/lists/blacklists/README'));
121
	$nbr_user = request ('user');
120
	$nbr_user = request ('user');
122
	$nbr_grp  = request ('group');
121
	$nbr_grp  = request ('group');