Skip to content
This repository was archived by the owner on Nov 20, 2025. It is now read-only.

Fix for Setup#108

Draft
FireByTrial wants to merge 1 commit into
devfrom
james_fix_for_setup
Draft

Fix for Setup#108
FireByTrial wants to merge 1 commit into
devfrom
james_fix_for_setup

Conversation

@FireByTrial

Copy link
Copy Markdown
Member

fixed redirect loop when index.php handles all requests, fixed some of the bad refs

WIP, posting to not duplicate work

Comment thread Setup/setup.createdb.php

$return=[];
include_once "../TPSBIN/functions.php";
include_once implode(DIRECTORY_SEPARATOR, [$directory, 'TPSBIN', 'functions.php']);

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missed this one

Comment thread Setup/setup.createxml.php


include_once '../TPSBIN/functions.php';
include_once implode(DIRECTORY_SEPARATOR, [$directory, 'TPSBIN', 'functions.php']);

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and here

Comment thread public/index.php
@@ -158,11 +158,58 @@ static public function ok($app, $data=NULL, $key="message", $code=200,
$sessionName = "TPSSlimSession";
$sessionSecret =

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should really be randomly created and stored as a file on the disk on first run

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 3fc9580

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants