Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete 10 Core Constants from config.php and add to Database, #2387

Closed
PopVeKind opened this issue Apr 16, 2018 · 1 comment
Closed

Delete 10 Core Constants from config.php and add to Database, #2387

PopVeKind opened this issue Apr 16, 2018 · 1 comment

Comments

@PopVeKind
Copy link
Contributor

PHP version: 5.6.34
Active Plugins:
    admin-ydb/plugin.php
YOURLS Version: 1.7.3
YOURLS DB Ver: 482

View (and play with) a working demo of a live YOURLS with DB Core Options.
http://a.fil.net/s/admin/db-config.php

The purpose of this project is to delete all Ten Core Constants from config.php leaving only the five DB constants.

Core Constants are problematic simply because they are constants. Constants are also problematic due to typographical errors and misunderstood instructions. All of these problems are solved by improving logic performance and making options selectable with a click, as a DB option.

This project deletes 10 options from config.php and adds 10 options to the Database.

There are three versions available on the menu at the top of the page.

View Normal - this is a short and sweet form.
View Noob Help - this adds some Noob Help to the normal form and reveals all Defaults.
View Developer Notes - Here you can view what is being stored in the DB via the $ydb property.

@LeoColomb
Copy link
Member

Closing in favor of #2388

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants