27/04/2004, 12:34
|
| | Fecha de Ingreso: abril-2004
Mensajes: 7
Antigüedad: 20 años, 8 meses Puntos: 0 | |
aaah vale, pero es q tngo una duda:
Código:
#
#-----[ OPEN ]---------------------------------------------
#
extension.inc
#
#-----[ FIND ]---------------------------------------------
# around line 22
$phpEx = "php";
#
#-----[ AFTER, ADD ]--------------------------------------
#
$attach_num_queries = 0;
#
#-----[ OPEN ]---------------------------------------------
#
attach_mod/includes/constants.php
#
#-----[ FIND ]---------------------------------------------
# around line 30
define('ATTACH_DEBUG', 0);
// define('ATTACH_DEBUG', 1);
#
#-----[ REPLACE WITH ]---------------------------------------
#
// define('ATTACH_DEBUG', 0);
define('ATTACH_DEBUG', 1);
#
#-----[ OPEN ]---------------------------------------------
#
includes/functions.php
#
#-----[ FIND ]---------------------------------------------
# Around line 494
function message_die($msg_code, $msg_text = '', $msg_title = '', $err_line = '', $err_file = '', $sql = '')
{
global $db, $template, $board_config, $theme, $lang, $phpEx, $phpbb_root_path, $nav_links, $gen_simple_header;
#
#-----[ AFTER, ADD ]---------------------------------------
#
global $attach_num_queries;
#
#-----[ OPEN ]---------------------------------------------
#
includes/page_tail.php
#
#-----[ FIND ]---------------------------------------------
# Around line 89
exit;
#
#-----[ BEFORE, ADD ]---------------------------------------
#
if ( ATTACH_DEBUG )
{
print "<center><font size=\"-2\">For the Attachment Mod " . $attach_num_queries . " queries were executed.</font></center>";
}
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
--------------- ALL QUERY ------------------
#
#-----[ OPEN ]---------------------------------------------
#
extension.inc
#
#-----[ FIND ]---------------------------------------------
# around line 22
$phpEx = "php";
#
#-----[ AFTER, ADD ]--------------------------------------
#
$mtime = microtime();
$mtime = explode(" ",$mtime);
$mtime = $mtime[1] + $mtime[0];
$starttime = $mtime;
$attach_num_queries = 0;
#
#-----[ OPEN ]---------------------------------------------
#
attach_mod/includes/constants.php
#
#-----[ FIND ]---------------------------------------------
# around line 30
define('ATTACH_DEBUG', 0);
// define('ATTACH_DEBUG', 1);
#
#-----[ REPLACE WITH ]---------------------------------------
#
// define('ATTACH_DEBUG', 0);
define('ATTACH_DEBUG', 1);
#
#-----[ OPEN ]---------------------------------------------
#
includes/functions.php
#
#-----[ FIND ]---------------------------------------------
# Around line 494
function message_die($msg_code, $msg_text = '', $msg_title = '', $err_line = '', $err_file = '', $sql = '')
{
global $db, $template, $board_config, $theme, $lang, $phpEx, $phpbb_root_path, $nav_links, $gen_simple_header;
#
#-----[ AFTER, ADD ]---------------------------------------
#
global $attach_num_queries;
#
#-----[ OPEN ]---------------------------------------------
#
includes/page_tail.php
#
#-----[ FIND ]---------------------------------------------
# Around line 89
exit;
#
#-----[ BEFORE, ADD ]---------------------------------------
#
$generation_time = printf("<br /><center><font size=\"-2\">phpBB Created this page in %f seconds : " . $db->num_queries . " queries executed : $gzip_text".$debug_mode."</font></center>", $totaltime);
if ( ATTACH_DEBUG )
{
print "<center><font size=\"-2\">For the Attachment Mod " . $attach_num_queries . " queries were executed.</font></center>";
}
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
tengo que copiar esto asi como viene? o tengo q modifikar algo?
y lo tendria q copiar a continuacion de la ultima palabra q haya en el archivo q tngo q modifikar? weno los archivos k son muxos xD :( Edit: common.php, faq.php, modcp.php, posting.php, privmsg.php, viewforum.php, viewtopic.php,
## admin/admin_forumauth.php, admin/admin_ug_auth.php, includes/auth.php, includes/functions.php,
## includes/prune.php, includes/topic_review.php, modcp_body.tpl, posting_body.tpl, posting_preview.tpl,
## posting_topic_review.tpl, privmsgs_body.tpl, privmsgs_preview.tpl, privmsgs_read_body.tpl,
## viewforum_body.tpl, viewtopic_body.tpl saludos |