Manual zmian
Otwórz plik: admin/sources/base/ipsRegistry.php
Znajdź:
}
}
/* Reformat basic URL */
Dodaj powyżej:
/* Now at this point, the preceeding value will have val?stuff=xxx as the value so we need to remove that */
preg_match( "#(?:^|&|&)([a-z0-9-_]+?)=([^\?=]+?)?#i", substr( $_toTest, strpos( $_toTest, '?' ) + 1 ), $match );
if ( $match[1] AND $match[2] )
{
$k = IPSText::parseCleanKey( $match[1] );
$v = IPSText::parseCleanValue( $match[2] );
$_GET[ $k ] = $v;
$_REQUEST[ $k ] = $v;
$_urlBits[ $k ] = $v;
ipsRegistry::$request[ $k ] = $v;
}
Zapisz i wyślij.
Otwórz plik: admin/sources/classes/output/publicOutput.php
Znajdź:
$_template = FALSE;
Dodaj powyżej:
if ( ! ipsRegistry::$settings['use_friendly_urls'] )
{
return $url;
}
Zapisz i wyślij.