🐛 Fix setup homepage error with PHP < 7.1.0

Was due to const visibility added in ormLinkSet class in commit b58a084d

This isn't supported before PHP 7.1.0, see https://www.php.net/manual/fr/language.oop5.constants.php :
> As of PHP 7.1.0 visibility modifiers are allowed for class constants.
This commit is contained in:
Pierre Goiffon
2020-08-13 15:29:27 +02:00
parent f90105c107
commit 91c6916d86

View File

@@ -30,8 +30,8 @@ require_once('dbobjectiterator.php');
class ormLinkSet implements iDBObjectSetIterator, Iterator, SeekableIterator
{
public const LINK_ALIAS = 'Link';
public const REMOTE_ALIAS = 'Remote';
const LINK_ALIAS = 'Link';
const REMOTE_ALIAS = 'Remote';
protected $sHostClass; // subclass of DBObject
protected $sAttCode; // xxxxxx_list