1
0
mirror of https://github.com/danog/MadelineProto.git synced 2025-01-22 16:31:11 +01:00

Fix simple filters

This commit is contained in:
Daniil Gentili 2023-07-16 15:02:06 +02:00
parent a2d048178f
commit 861ade96cf
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -28,13 +28,13 @@ abstract class RunnerAbstract
* If using madeline.php, simply return madeline.php path.
*/
if (\defined('MADELINE_PHP')) {
return MADELINE_PHP;
return \MADELINE_PHP;
}
/**
* If using madeline.phar, simply return madeline.phar path.
*/
if (\defined('MADELINE_PHAR')) {
return MADELINE_PHAR;
return \MADELINE_PHAR;
}
// Write process runner to external file if inside a PHAR different from madeline.phar,
// because PHP can't open files inside a PHAR directly except for the stub.