Parašė edeni· 2008 Spa. 25 21:10:45
#8
Atsidarai maincore.php, surandi:
// Start Output Buffering
ob_start();
ir keiti į:
// Change links to F-url
function f_url($buf) {
#########################################################
# MOD F-URL for php-fusion v6.01.10 #
# language version - pl #
# author nick: slawekneo from Polish support php-fusion #
# author name: Slawomir Nonas #
# http://www.php-fu... #
#########################################################
if(!substr_count($_SERVER[REQUEST_URI],"administration")){
$buf = preg_replace('#profile\.php\?lookup=([0-9]*?)(\'|")#si', '~\1\2', $buf);
}
return $buf;
}
// Start Output Buffering
ob_start("f_url");
Root direktorijoje sukurk failą .htaccess, su tokiu turiniu:
#########################################################
# MOD F-URL for php-fusion v6.01.10 #
# language version - pl #
# author nick: slawekneo from Polish support php-fusion #
# author name: Slawomir Nonas #
# http://www.php-fu... #
#########################################################
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^/(.*)$
RewriteRule ^~([0-9]+)$ profile.php?lookup=$1 [L]
Ir turetu veikt ;)