2009-02-26 Esteban Sanchez <estebans@artica.es>

* include/config_process.php, index.php: Added generated timer count as
	a HTML comment at the bottom.

	* include/functions_ui.php: Style correction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1488 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
Esteban Sanchez 2009-02-26 12:09:21 +00:00
parent c7d84b29c2
commit 96e53bd4e0
4 changed files with 15 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2009-02-26 Esteban Sanchez <estebans@artica.es>
* include/config_process.php, index.php: Added generated timer count as
a HTML comment at the bottom.
* include/functions_ui.php: Style correction.
2009-02-26 Esteban Sanchez <estebans@artica.es> 2009-02-26 Esteban Sanchez <estebans@artica.es>
* include/functions_db.php: Added support for queries elapsed time in * include/functions_db.php: Added support for queries elapsed time in

View File

@ -20,6 +20,8 @@
$build_version = 'PC090217'; $build_version = 'PC090217';
$pandora_version = 'v2.1-dev'; $pandora_version = 'v2.1-dev';
$config['start_time'] = microtime (true);
// Next is the directory where "/attachment" directory is placed, to upload files stores. // Next is the directory where "/attachment" directory is placed, to upload files stores.
// This MUST be writtable by http server user, and should be in pandora root. // This MUST be writtable by http server user, and should be in pandora root.
// By default, Pandora adds /attachment to this, so by default is the pandora console home dir // By default, Pandora adds /attachment to this, so by default is the pandora console home dir

View File

@ -585,8 +585,9 @@ function process_page_head ($string, $bitfield) {
//Style should go first //Style should go first
$config['css'] = array_merge (array ($config['style'] => "include/styles/".$config['style'].".css", $config['css'] = array_merge (array ($config['style'] => "include/styles/".$config['style'].".css",
"menu" => "include/styles/menu.css", "menu" => "include/styles/menu.css",
"tip", "include/styles/tip.css"), $config['css']); "tip", "include/styles/tip.css"),
$config['css']);
//We can't load empty and we loaded (conditionally) ie //We can't load empty and we loaded (conditionally) ie
$loaded = array ('', 'ie'); $loaded = array ('', 'ie');

View File

@ -254,4 +254,7 @@ while (@ob_end_flush ());
print_database_debug (); print_database_debug ();
echo '</html>'; echo '</html>';
$run_time = format_numeric (microtime (true) - $config['start_time'], 3);
echo "\n<!-- Page generated in $run_time seconds -->\n";
?> ?>