Closed elliotchance closed 5 years ago
@willemstuursma, this fixed #345 - please review
@elliotchance This doesn't work for me. The VENDOR_DIR
environment variable is only set when installing with Composer, not when running Concise.
It all seems a bit elaborate for just displaying the version number.
Something like:
public function findVendorFolder($path = null)
{
return dirname(dirname(dirname(dirname(dirname(__FILE___)))));
}
Might just be sufficient.
@willemstuursma I'm closing this because it has been stale for too long. Let me know if you want to revisit it.
This change is