You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
php /full/path/to/index.php cron/index fails as the app relies on being executed in the "public dir"
Even if not strictly necessary (a cd could solve) I suggest to use only fully qualified paths in the scripts in order to have a more portable behavior ..
just define a BASE_DIR (using __DIR__) constant and refer to it every time including or requiring files
my 2 cents
The text was updated successfully, but these errors were encountered:
php /full/path/to/index.php cron/index
fails as the app relies on being executed in the "public dir"Even if not strictly necessary (a
cd
could solve) I suggest to use only fully qualified paths in the scripts in order to have a more portable behavior ..just define a
BASE_DIR
(using__DIR__
) constant and refer to it every time including or requiring filesmy 2 cents
The text was updated successfully, but these errors were encountered: