Update debugging flow#1140
Conversation
Signed-off-by: Riddhesh Sanghvi <riddheshsanghvi96@gmail.com>
Signed-off-by: Riddhesh Sanghvi <riddheshsanghvi96@gmail.com>
Signed-off-by: Riddhesh Sanghvi <riddheshsanghvi96@gmail.com>
Signed-off-by: Riddhesh Sanghvi <riddheshsanghvi96@gmail.com>
Signed-off-by: Riddhesh Sanghvi <riddheshsanghvi96@gmail.com>
Signed-off-by: Riddhesh Sanghvi <riddheshsanghvi96@gmail.com>
Signed-off-by: Riddhesh Sanghvi <riddheshsanghvi96@gmail.com>
Signed-off-by: Riddhesh Sanghvi <riddheshsanghvi96@gmail.com>
Signed-off-by: Riddhesh Sanghvi <riddheshsanghvi96@gmail.com>
Signed-off-by: Riddhesh Sanghvi <riddheshsanghvi96@gmail.com>
Signed-off-by: Riddhesh Sanghvi <riddheshsanghvi96@gmail.com>
Signed-off-by: Riddhesh Sanghvi <riddheshsanghvi96@gmail.com>
|
|
||
| include_once(__DIR__ . '/../../php/class-ee.php'); | ||
| include_once(__DIR__ . '/../../php/utils.php'); | ||
| define('EE_ROOT',__DIR__ . '/../..'); |
There was a problem hiding this comment.
Add a space as you're doing it other places, after brackets.
ref: https://github.com/EasyEngine/easyengine/pull/1140/files#diff-8a50a8f3567ab9a03107fd86eeaf827eR10
| include_once(__DIR__ . '/../../php/utils.php'); | ||
| define('EE_ROOT',__DIR__ . '/../..'); | ||
|
|
||
| include_once(EE_ROOT . '/php/class-ee.php'); |
There was a problem hiding this comment.
same for this, use one type of include_once. Here you've used brackets and not for other places.
i.e: https://github.com/EasyEngine/easyengine/pull/1140/files#diff-8a50a8f3567ab9a03107fd86eeaf827eR28
Also check require_once.
| include_once "$logger_dir/Base.php"; | ||
|
|
||
| foreach ( $iterator as $filename ) { | ||
| if ( '.php' !== substr( $filename, - 4 ) ) { |
There was a problem hiding this comment.
I think here you need the extension so you can use pathinfo for that.
pathinfo( $filename, PATHINFO_EXTENSION );
| return true; | ||
| } | ||
| EE::error( $launch->stderr ); | ||
| return EE::exec( $command, true, true, true ); |
There was a problem hiding this comment.
what's the purpose of this? 🤔 Looks like the another wrapper of EE::exec()
I don't see anything related to the container in this function.
Signed-off-by: Riddhesh Sanghvi <riddheshsanghvi96@gmail.com>
41ede97 to
7352e7a
Compare
Signed-off-by: Riddhesh Sanghvi <riddheshsanghvi96@gmail.com>
Signed-off-by: Riddhesh Sanghvi <riddheshsanghvi96@gmail.com>
Closes #1139
Breaking changes. Need functional call changes in following post this:
https://github.com/easyengine/site-command/
https://github.com/easyengine/site-wp-command/
https://github.com/easyengine/cron-command/