TinyPortal

Development => Support => Installation => Topic started by: shelzmike on July 28, 2008, 09:37:24 PM

Title: Manual Install Help - cannot find correct code in Subs.php
Post by: shelzmike on July 28, 2008, 09:37:24 PM
Okay, I am doing the manual install on a test server that I have and am at where I Need to edit the subs.php file from directions from the tinyportal1010-1049.mod file.

It tells me to first find: function redirectexit($setLocation = '', $refresh = false) and replace with function redirectexit($setLocation = '', $refresh = false, $tp_not = false)

That was easy enough, now it is telling me to find: if ($setLocation == $scripturl) and replace with if ($setLocation == $scripturl && !$tp_not).

I am not finding anything when searching for if (SetLocation ==$scripturl)

The only thing I am finding remotely close is: if ($add)
                       $setLocation = $scripturl . '?' . $setLocation;


or elseif ($add)
$setLocation = $scripturl . ($setLocation != '' ? '?' . $setLocation : '');


I am trying to install Tp 1.05.

Can anyone shed some light on this?

Thanks.

Mike


Title: Re: Manual Install Help - cannot find correct code in Subs.php
Post by: G6Cad on July 28, 2008, 09:55:29 PM
Check this page instead and see if it get a bit easier.

http://docs.tinyportal.co.uk/index.php?topic=140.0