]> git.entuzijast.net Git - freeradius-dialup-admin.git/commitdiff
Call config.php3 before outputing any html
authorkkalev <kkalev>
Sat, 7 Sep 2002 21:10:07 +0000 (21:10 +0000)
committerkkalev <kkalev>
Sat, 7 Sep 2002 21:10:07 +0000 (21:10 +0000)
Changelog
htdocs/badusers.php3
htdocs/show_groups.php3
htdocs/stats.php3
htdocs/user_accounting.php3
htdocs/user_admin.php3
htdocs/user_finger.php3

index 09a85e679ddfb844fd1f389db2b75297a7e66842..6261caa356c3aef266c35971a3990e736885b2ae 100644 (file)
--- a/Changelog
+++ b/Changelog
@@ -33,6 +33,7 @@ Ver 1.60:
   to open the file html/buttons/<username>/buttons.html.php3. If we can't we open
   html/buttons/default/buttons.html.php3. That way we can create muiltiple views of say the online users
   page based on which admin requests the page.
+* Call config.php3 before outputing any html.
 Ver 1.55:
 * Update the FAQ about missing attributes from the user/group edit pages and add a few comments
   in the configuration files
index b1060d21e1db905538f731ea6eaf9518c395aa05..f05d4ca3d07d757166337aedff40ff03f04fe1b9 100644 (file)
@@ -1,7 +1,9 @@
-<html>
 <?php
 require('../conf/config.php3');
 require('../lib/functions.php3');
+?>
+<html>
+<?php
 
 if (is_file("../lib/sql/drivers/$config[sql_type]/functions.php3"))
        include_once("../lib/sql/drivers/$config[sql_type]/functions.php3");
index e9b766106787baef124d1d8e28132eb3bd5a935b..4a9251f2562c9b25ff419147bfae9f2c67bdbdc0 100644 (file)
@@ -1,6 +1,8 @@
-<html>
 <?php
 require('../conf/config.php3');
+?>
+<html>
+<?php
 
 if (is_file("../lib/sql/drivers/$config[sql_type]/functions.php3"))
        include_once("../lib/sql/drivers/$config[sql_type]/functions.php3");
index 4130a3425b8cbb201dd09df457c00a640474cc07..3189e6084dff25575a406dfee33706dfb2dcf9c9 100644 (file)
@@ -1,3 +1,6 @@
+<?php
+require('../conf/config.php3');
+?>
 <html>
 <head>
 <title>account analysis</title>
@@ -7,7 +10,6 @@
 <center>
 
 <?php
-require('../conf/config.php3');
 require('../lib/functions.php3');
 
 if (is_file("../lib/sql/drivers/$config[sql_type]/functions.php3"))
index 4751ef004524ba5d9a80d62d0fec953f94c74fab..71cfd5cc5f9037fd5544228ff0715c87741804f5 100644 (file)
@@ -1,6 +1,8 @@
-<html>
 <?php
 require('../conf/config.php3');
+?>
+<html>
+<?php
 require('../lib/functions.php3');
 
 if (is_file("../lib/sql/drivers/$config[sql_type]/functions.php3"))
index 6fd8d6a2a65fb1ebe38b414dec667964d44813a2..e60603ccd0cca4ed5a883b8f36c2206540011f74 100644 (file)
@@ -1,10 +1,11 @@
-<html>
-<head>
 <?php
 require('../conf/config.php3');
+?>
+<html>
+<head>
+<?
 require('../lib/functions.php3');
 require('../lib/defaults.php3');
-
 $date = strftime('%A, %e %B %Y, %T %Z');
 
 if (is_file("../lib/$config[general_lib_type]/user_info.php3")){
index 7211f6b1af38e67b1f0e0d737edc8481f306d0f0..35a1419f0246ecc3b8092e116049b780f49f95fa 100644 (file)
@@ -1,3 +1,6 @@
+<?php
+require('../conf/config.php3');
+?>
 <html>
 <head>
 <META HTTP-EQUIV="Refresh" CONTENT="50">
@@ -8,7 +11,6 @@ User Finger Facility
 </head>
 
 <?php
-require('../conf/config.php3');
 require('../lib/functions.php3');
 require("../lib/$config[general_lib_type]/functions.php3");