BP_GOPP_Image_Editor_GS::gs_cmd_nix()
Returns the *nix path of the Ghostscript executable.
Description
Return
(false|string) Returns false if can't determine path, else path.
Source
File: bp-document/classes/class-bp-gopp-image-editor-gs.php
protected static function gs_cmd_nix() { if ( self::test_gs_cmd( '/usr/bin/gs' ) ) { return '/usr/bin/gs'; } if ( self::test_gs_cmd( 'gs' ) ) { // Resort to PATH. return 'gs'; } return false; }
Changelog
Version | Description |
---|---|
BuddyBoss 1.4.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.