mirror of
https://github.com/danog/MadelineProto.git
synced 2025-01-22 19:51:11 +01:00
Fix simple filters
This commit is contained in:
parent
a2d048178f
commit
861ade96cf
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user