|
@@ -11,6 +11,7 @@ $customer = Customer::getForAdmin();
|
|
|
if(!$customer) throw new Exception("You do not have permission to access this page.");
|
|
if(!$customer) throw new Exception("You do not have permission to access this page.");
|
|
|
|
|
|
|
|
$customer_slug = Util::slug($customer->name);
|
|
$customer_slug = Util::slug($customer->name);
|
|
|
|
|
+$customer_slug = str_replace("-", "_", $customer_slug);
|
|
|
$logo_file_path = ROOT_DIR . "/public/img/customer_logos/{$customer_slug}_logo.png";
|
|
$logo_file_path = ROOT_DIR . "/public/img/customer_logos/{$customer_slug}_logo.png";
|
|
|
$has_logo = file_exists($logo_file_path);
|
|
$has_logo = file_exists($logo_file_path);
|
|
|
|
|
|