init.php - Link to public/install

Project:ProjectPier
Version:0.8.0-dev
Component:User interface
Category:feature request
Priority:minor
Assigned:Jon
Status:closed - by issue author
Description

If you upload the PP script with your FTP client and direct your web browser to the according URL, you get the following message: "ProjectPier is not installed. Please redirect your browser to public/install folder and follow installation procedure." It would be nice to implement a clickable link here (i.e. http://www.domain.com/projectpier/public/install/).

that's a good suggestion. Can this be done with a relative link or does PP need the absolute URL?

A relative link works fine.

In the file /init.php, change line 48 from:

print "ProjectPier is not installed. Please redirect your browser to <b>" . PUBLIC_FOLDER . "/install</b> folder and follow installation procedure";

to:

print "activeCollab is not installed. Please redirect your browser to <b><a href=\"./". PUBLIC_FOLDER . "/install\">" . PUBLIC_FOLDER . "/install</a></b> folder and follow installation procedure";

This worked fine for me, if someone else could verify it works, we'll add it the 0.8 base code.

Thanks,
Jon

Assigned to:Visitor» Jon
Status:new» patch - code needs review

Sorry, replace activeCollab with ProjectPier in the last update.!

Status:patch - code needs review» closed - by issue author