Code: Select all
#
#-----[ OPEN ]------------------------------------------
#
wikka.config.php
#
#-----[ FIND ]------------------------------------------
# where "yourdomain" is the name of your domain
"base_url" => "http://yourdomain/wikka.php?wakka=",
#
#-----[ REPLACE WITH ]------------------------------------------
#
"base_url" => "http://yourdomain/wiki.php?wakka=",
Code: Select all
// standard page header
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
include($phpbb_root_path . 'wakka.'.$phpEx);
Code: Select all
// standard page header
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
include($phpbb_root_path . 'wikka.'.$phpEx);
Code: Select all
<?php
$message = $this->GetRedirectMessage();
$user = $this->GetUser();
$site_base = $this->GetConfigValue("base_url");
if ( substr_count($site_base, 'wikka2.php?wakka=') > 0 ) $site_base = substr($site_base,0,-16);
?>
Code: Select all
<?php
$message = $this->GetRedirectMessage();
$user = $this->GetUser();
$site_base = $this->GetConfigValue("base_url");
if ( substr_count($site_base, 'wikka.php?wakka=') > 0 ) $site_base = substr($site_base,0,-16);
?>