Skip to content

cliupdate need to set $_SERVER[SERVER_PORT] #1238

@Infern1

Description

@Infern1

Since latest git pull I need to set SERVER_PORT for cliupdate.php to work

When running:
%php cliupdate.php
I get

[2020-12-22 14:00:00] selfoss.ERROR: Undefined index: SERVER_PORT

My fix:
% SERVER_PORT=80 php cliupdate.php

I don't see why I need to define SERVER_PORT
Tried to grep where it is defined, however can't seem to find it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions