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)
dialup_admin/Changelog
dialup_admin/htdocs/badusers.php3
dialup_admin/htdocs/show_groups.php3
dialup_admin/htdocs/stats.php3
dialup_admin/htdocs/user_accounting.php3
dialup_admin/htdocs/user_admin.php3
dialup_admin/htdocs/user_finger.php3

index 09a85e6..6261caa 100644 (file)
@@ -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 b1060d2..f05d4ca 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 e9b7661..4a9251f 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 4130a34..3189e60 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 4751ef0..71cfd5c 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 6fd8d6a..e60603c 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 7211f6b..35a1419 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");