We have a custom script in shell
with
require_once 'abstract.php';
and our class extends Mage_Shell_Abstract
.
On our dev environments this is working fine, but on staging we get the error
PHP Fatal error: Class 'Mage' not found in /var/www/foo/public/shell/abstract.php on line 86
What can be the reason?