TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 360
  • Total: 360

Manual Install Help - cannot find correct code in Subs.php

Started by shelzmike, July 28, 2008, 09:37:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

shelzmike

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



G6Cad


This website is proudly hosted on Crocweb Cloud Website Hosting.