Parašė edeni· 2008 Rugs. 24 13:09:20
#8
Sita idedi kur tau reikia:
".sprintf($locale['global_172'], substr((get_microtime() - START_TIME),0,4))."
Paskui atsidarai maincore.php
ir po
// If register_globals is turned off, extract super globals (php 4.2.0+)
if (ini_get('register_globals') != 1) {
if ((isset($_POST) == true) && (is_array($_POST) == true)) extract($_POST, EXTR_OVERWRITE);
if ((isset($_GET) == true) && (is_array($_GET) == true)) extract($_GET, EXTR_OVERWRITE);
}
idedi:
// Calculate script start/end time
function get_microtime() {
list($usec, $sec) = explode(" ", microtime());
return ((float)$usec + (float)$sec);
}
// Define script start time
define("START_TIME", get_microtime());
Paskui atsidarai locale/tavokalba/global.php
ir pries ?>
idedi:
$locale['global_172'] = "Puslapis sugeneruotas per: %s sekundžių";
P.S Sis kodas isimtas is V7
Redagavo edeni· 2008 Rugs. 24 13:09:10