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

/usr/lib/alternc scripts may fail when launched in a folder where a "config.php" script exists #571

Open
vincib opened this issue Apr 24, 2024 · 0 comments

Comments

@vincib
Copy link
Contributor

vincib commented Apr 24, 2024

proposed patch :

--- /usr/share/alternc/panel/class/config_nochk.php	2023-11-09 12:13:13.000000000 +0100
+++ config_nochk.php	2024-04-24 17:56:17.858365006 +0200
@@ -20,5 +20,6 @@
 
 
 define('NOCHECK', 1);
-require_once("config.php");
+require_once(__DIR__."/config.php");
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

1 participant