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:
parent
c7d84b29c2
commit
96e53bd4e0
|
@ -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>
|
||||
|
||||
* include/functions_db.php: Added support for queries elapsed time in
|
||||
|
|
|
@ -20,6 +20,8 @@
|
|||
$build_version = 'PC090217';
|
||||
$pandora_version = 'v2.1-dev';
|
||||
|
||||
$config['start_time'] = microtime (true);
|
||||
|
||||
// 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.
|
||||
// By default, Pandora adds /attachment to this, so by default is the pandora console home dir
|
||||
|
|
|
@ -585,8 +585,9 @@ function process_page_head ($string, $bitfield) {
|
|||
|
||||
//Style should go first
|
||||
$config['css'] = array_merge (array ($config['style'] => "include/styles/".$config['style'].".css",
|
||||
"menu" => "include/styles/menu.css",
|
||||
"tip", "include/styles/tip.css"), $config['css']);
|
||||
"menu" => "include/styles/menu.css",
|
||||
"tip", "include/styles/tip.css"),
|
||||
$config['css']);
|
||||
|
||||
//We can't load empty and we loaded (conditionally) ie
|
||||
$loaded = array ('', 'ie');
|
||||
|
|
|
@ -254,4 +254,7 @@ while (@ob_end_flush ());
|
|||
|
||||
print_database_debug ();
|
||||
echo '</html>';
|
||||
|
||||
$run_time = format_numeric (microtime (true) - $config['start_time'], 3);
|
||||
echo "\n<!-- Page generated in $run_time seconds -->\n";
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue