Skip to content

Commit

Permalink
fix open_basedir restriction breaking execution on organizer-page & t…
Browse files Browse the repository at this point in the history
…icketcreation
  • Loading branch information
ichier committed Oct 24, 2022
1 parent 3ecb33b commit 848da9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Models/Organiser.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public function orders()
*/
public function getFullLogoPathAttribute()
{
if ($this->logo_path && (file_exists(config('attendize.cdn_url_user_assets') . '/' . $this->logo_path) || file_exists(public_path($this->logo_path)))) {
if ($this->logo_path && (file_exists(public_path($this->logo_path)) || file_exists(config('attendize.cdn_url_user_assets') . '/' . $this->logo_path))) {
return config('attendize.cdn_url_user_assets') . '/' . $this->logo_path;
}

Expand Down

0 comments on commit 848da9b

Please sign in to comment.