Kan någon tala om för mig varför footer.php på nedanstående tar sådan tid för sig att ladda?
http://www.culturenet.tk
Källkod:
http://fisk.kyed.com/culturnet/footer.txt
PHP-footer som drygar sig... :/
PHP-footer som drygar sig... :/
Aotearoa - tino rangatiratanga
Svårt att säga på den koden man får eftersom där finns metoder som vi inte vet vad dom gör, "$xoopsLogger->stopTime();" t.ex.
The three most dangerous things in the world are a programmer with a soldering iron, a hardware type with a program patch and a user with an idea.
In theory, there is no difference between theory and practice. But, in practice, there is.
In theory, there is no difference between theory and practice. But, in practice, there is.
Källkoden till klassen som blir objektet "$xoopsLogger" är ännu bättre.
The three most dangerous things in the world are a programmer with a soldering iron, a hardware type with a program patch and a user with an idea.
In theory, there is no difference between theory and practice. But, in practice, there is.
In theory, there is no difference between theory and practice. But, in practice, there is.
Ugha, var lite klurigt...
hjälper det här?, Eller är det helt uppåt väggarna?
hjälper det här?, Eller är det helt uppåt väggarna?
fisk [ pts/0.enquilon ][ /var/www/culturnet/html ]\ % cat * | grep xoopsLogger
cat: cache: Is a directory
cat: class: Is a directory
global $xoopsDB, $xoopsLogger, $xoopsConfig;
global $xoopsDB, $xoopsConfig, $xoopsLogger;
cat: forum: Is a directory
$xoopsLogger->stopTime();
fwrite($fp, $xoopsLogger->dumpAll());
$xoopsLogger->stopTime();
fwrite($fp, $xoopsLogger->dumpAll());
cat: images: Is a directory
cat: include: Is a directory
cat: kernel: Is a directory
cat: language: Is a directory
$xoopsLogger->addBlock($block_arr[$i]->getVar('name'));
$xoopsLogger->addBlock($block_arr[$i]->getVar('name'), true, $bcachetime);
$xoopsLogger->addBlock($block_arr[$i]->getVar('name'));
$xoopsLogger->addBlock($block_arr[$i]->getVar('name'), true, $bcachetime);
$xoopsLogger->addExtra($xoopsCachedTemplate, $xoopsConfig['module_cache'][$xoopsModule->getVar('mid')]);
fwrite($fp, $xoopsLogger->dumpAll());
$xoopsLogger =& XoopsLogger::instance();
$xoopsLogger->startTime();
cat: modules: Is a directory
cat: templates_c: Is a directory
cat: themes: Is a directory
cat: upgrade: Is a directory
cat: uploads: Is a directory
Aotearoa - tino rangatiratanga