Skip to content

[BUG] Changes made to secrets.php are only visible to the admin #973

@Insurgent-X

Description

@Insurgent-X

Describe the bug

Any configurations made via inc/secrets.php are only visible to the admin and not regular users. For example, if you were to change the New Topic button text with $config['button_newtopic'] = _('Post Thread');, the effect would be shown in the mod interface, but regular users would still see "New Topic".

Steps to Reproduce

1. Edit the inc/secrets.php file to add configurations.
2. Save the file.
3. Enter any board as an admin (mod.php?/board/index.html) to see the changes.
4. Go on the same board as a normal user (/board/).

Expected Behavior

Any configurations made should be visible regardless of user group.

Server Specifications

OS: Debian 13
PHP Version: 8.4
Web Server: NGINX
Database: MariaDB
Vichan Version: 5.2.1

Additional Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions