}
public static function SetObject($key, $var, $expire = 86400) {
return static::Set($key, serialize($var), $expire);
}
public static function SetArray($key, $var, $expire = 86400) {
return static::Set($key, serialize($var), $expire);
}
public static function SetBoolean($key, $var, $expire = 86400) {
return static::Set($key, serialize($var), $expire);
}
public static function Set($key, $var, $expire = 86400) {
App::debugbarLog('debug', "Cache set: $key");
if ($i = static::getInstance()) {
$var = static::beforeSet($var);
return $expire > 0?
$i->setEx($key, $expire, $var) :
$i->set($key, $var);
}
return null;
}
public static function Exists(...$key):?bool {
if ($i = static::getInstance()) {
return $i->exists($key);
}
return null;
}
public static function Expire($key, $ttl) {
if ($i = static::getInstance()) {
return $i->expire($key, $ttl);
}
return false;
}
/**
"MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error."
}
public static function SetObject($key, $var, $expire = 86400) {
return static::Set($key, serialize($var), $expire);
}
public static function SetArray($key, $var, $expire = 86400) {
return static::Set($key, serialize($var), $expire);
}
public static function SetBoolean($key, $var, $expire = 86400) {
return static::Set($key, serialize($var), $expire);
}
public static function Set($key, $var, $expire = 86400) {
App::debugbarLog('debug', "Cache set: $key");
if ($i = static::getInstance()) {
$var = static::beforeSet($var);
return $expire > 0?
$i->setEx($key, $expire, $var) :
$i->set($key, $var);
}
return null;
}
public static function Exists(...$key):?bool {
if ($i = static::getInstance()) {
return $i->exists($key);
}
return null;
}
public static function Expire($key, $ttl) {
if ($i = static::getInstance()) {
return $i->expire($key, $ttl);
}
return false;
}
/**
"bc_account_20936"
86400
""" O:7:"Account":30:{s:13:"\x00Account\x00plan";N;s:10:"timestamps";b:1;s:25:"\x00Account\x00_hasCustomDomain";N;s:8:"\x00*\x00casts";a:1:{s:13:"embed_origins";s:5:"array";}s:10:"\x00*\x00appends";a:2:{i:0;s:23:"location_wording_plural";i:1;s:25:"shipday_globally_disabled";}s:12:"pdfPageCount";i:0;s:9:"\x00*\x00hidden";a:1:{i:0;s:8:"password";}s:12:"\x00*\x00nullables";a:0:{}s:13:"\x00*\x00connection";s:7:"default";s:8:"\x00*\x00table";N;s:13:"\x00*\x00primaryKey";s:2:"id";s:10:"\x00*\x00keyType";s:3:"int";s:12:"incrementing";b:1;s:7:"\x00*\x00with";a:0:{}s:12:"\x00*\x00withCount";a:0:{}s:10:"\x00*\x00perPage";i:15;s:6:"exists";b:1;s:18:"wasRecentlyCreated";b:0;s:13:"\x00*\x00attributes";a:219:{s:11:"primary_fax";s:15:"(303) 926-1922 ";s:13:"primary_phone";s:15:"(303) 926-1888 ";s:3:"zip";s:5:"80027";s:5:"state";s:2:"CO";s:4:"city";s:10:"Louisville";s:7:"street2";s:0:"";s:7:"street1";s:19:"594 S McCaslin Blvd";s:2:"id";i:20936;s:9:"id_string";s:24:"baoasianfusionlouisville";s:7:"url_tag";s:24:"baoasianfusionlouisville";s:17:"marketing_url_tag";s:24:"baoasianfusionlouisville";s:12:"display_name";s:37:"Bao Asian Fusion & Sushi - Louisville";s:5:"email";s:26:"info@chinesemenuonline.com";s:8:"password";s:60:"$2y$10$ptIM12TDnr1ul0BRe0GQQuv7z5mmy5QHYOxr9OZ0zunLsJoYMFc/i";s:22:"password_last_modified";N;s:9:"tfa_since";N;s:10:"tfa_secret";N;s:8:"timezone";i:1;s:5:"suite";s:0:"";s:9:"is_locked";i:0;s:14:"logo_file_name";s:0:"";s:9:"app_title";s:37:"Bao Asian Fusion & Sushi - Louisville";s:14:"app_page_title";s:133:"Bao Asian Fusion & Sushi Bar | Order Online | 594 S McCaslin Blvd,, Louisville, CO | Chinese, Thai, Asian, Japanese, Sushi Restaurant";s:17:"always_show_title";i:1;s:10:"custom_css";s:0:"";s:13:"homepage_html";s:1059:"<h1 style="font-size:22px;">Welcome to {ACCOUNT_NAME}</h1>\n \n <div style="color:#555555;font-size:1.2em;font-weight:bolder;">{CURRENT_DATE}</div>\n \n <p>Bao Asiann Fusion & Sushi offers authentic and delicious tasting Chinese and Asian cuisines as well as fresh sushi Louisville, CO. Bao Asian Fusion & Sushi's convenient location and affordable prices make our restaurant a natural choice for dine-in and take-out meals in the Louisville community. Our restaurant is known for its varieties of taste and fresh ingredients. Come and experience our friendly atmosphere and excellent service.</p>\n <div style="color:#555555;font-size:1.2em;font-weight:bolder;">\n We Deliver. For Convenience, Order Online!</div>\n \n \n <p>Get started by clicking below or choosing a menu category on the right. Once you've selected the items you wish to order, you will be asked to register and the checkout. Your order will be sent to the restaurant, to be ready at the time you specify. It's that easy!</p>\n \n <h2><a href="?form=ordering">Start a New Order!</a></h2>\n \n <p> </p>\n ";s:12:"is_cancelled";i:0;s:10:"created_at";s:19:"2016-04-27 07:27:59";s:11:"modified_at";s:19:"2019-02-03 11:32:27";s:23:"normalized_search_terms";s:0:"";s:15:"enabled_modules";s:5:"5376a";s:22:"default_user_full_name";s:17:"SAMPLE - DELIVERY";s:10:"first_name";s:0:"";s:9:"last_name";s:0:"";s:9:"job_title";s:0:"";s:19:"menubuddies_enabled";i:0;s:24:"seo_description_disabled";i:0;s:28:"self_print_campaigns_allowed";i:0;s:16:"default_currency";s:0:"";s:30:"reseller_user_invoice_currency";N;s:20:"payment_processor_id";i:0;s:23:"payment_processor_txkey";s:0:"";s:25:"payment_processor_loginid";s:0:"";s:28:"payment_processor_public_key";s:0:"";s:20:"order_calendar_color";s:0:"";s:23:"activity_calendar_color";s:0:"";s:20:"other_calendar_color";s:0:"";s:25:"order_calendar_foreground";s:0:"";s:28:"activity_calendar_foreground";s:0:"";s:25:"other_calendar_foreground";s:0:"";s:13:"mobile_number";s:15:"(646) 541-3883 ";s:14:"sms_is_enabled";i:0;s:19:"hide_logo_in_header";i:0;s:11:"template_id";i:34;s:19:"website_template_id";i:0;s:24:"website_template_enabled";i:0;s:19:"preview_template_id";i:0;s:21:"custom_admin_template";i:0;s:23:"same_page_cart_disabled";i:0;s:11:"show_coupon";i:1;s:11:"show_search";i:1;s:25:"menu_link_choose_location";i:0;s:10:"is_all_ssl";i:0;s:22:"custom_fax_layout_file";s:0:"";s:7:"is_demo";i:0;s:11:"is_billable";i:1;s:14:"last_billed_on";s:19:"0000-00-00 00:00:00";s:16:"start_billing_on";s:19:"2015-10-23 20:15:05";s:12:"pdf_password";s:7:"grape23";s:11:"invite_code";s:0:"";s:17:"custom_stylesheet";s:0:"";s:19:"show_student_fields";i:0;s:16:"reseller_user_id";i:66;s:10:"logo_width";i:0;s:11:"logo_height";i:0;s:12:"directory_id";i:0;s:19:"location_name_alias";s:0:"";s:15:"custom_survo_id";s:0:"";s:19:"max_calls_per_order";i:0;s:26:"old_ehungry_restaurant_ids";s:0:"";s:22:"previous_homepage_html";s:0:"";s:25:"order_confirmation_markup";s:0:"";s:21:"additional_custom_css";s:0:"";s:18:"individual_billing";i:0;s:20:"category_list_layout";s:0:"";s:30:"obscure_payment_info_on_orders";s:1:"0";s:17:"is_directory_only";i:0;s:23:"desktop_client_password";s:0:"";s:37:"desktop_client_password_last_modified";N;s:23:"manual_payment_captures";i:0;s:27:"payment_processor_test_mode";i:0;s:17:"affiliate_user_id";i:0;s:24:"show_option_choice_names";i:0;s:7:"tagline";s:0:"";s:20:"print_order_xml_file";s:0:"";s:17:"order_sequence_id";i:0;s:24:"sequence_numbers_enabled";i:0;s:25:"custom_ordersheet_message";s:59:"Please Process Credit Card or Collect Payment From Customer";s:34:"customer_custom_ordersheet_message";s:0:"";s:17:"account_tab_label";s:0:"";s:18:"calendar_tab_label";s:0:"";s:15:"order_tab_label";s:0:"";s:19:"hide_customer_stats";i:0;s:23:"show_errors_in_dialogue";i:0;s:26:"show_advanced_addon_params";i:0;s:25:"show_menus_simultaneously";i:0;s:8:"is_store";i:0;s:23:"default_menu_item_image";s:0:"";s:34:"add_customer_receipt_to_ordersheet";i:0;s:34:"add_new_customer_msg_to_ordersheet";i:0;s:25:"is_nonstandard_ordersheet";i:0;s:31:"permit_customer_order_deletions";i:0;s:16:"hide_price_names";i:0;s:29:"show_location_on_print_ticket";i:0;s:20:"custom_rightbar_info";s:0:"";s:30:"show_homepage_on_ordering_page";i:0;s:21:"show_price_names_only";i:0;s:21:"sms_send_by_secondary";i:0;s:26:"hidden_registration_fields";s:0:"";s:20:"allow_guest_checkout";i:1;s:10:"force_bill";i:0;s:20:"location_list_format";s:0:"";s:20:"allow_client_scripts";i:0;s:15:"has_mobile_site";i:0;s:17:"last_suspended_on";s:19:"0000-00-00 00:00:00";s:8:"bill_day";i:23;s:10:"force_efax";i:0;s:14:"mobile_tablets";i:0;s:14:"force_metrofax";i:0;s:12:"social_links";s:0:"";s:9:"home_link";s:0:"";s:14:"copyright_name";s:0:"";s:12:"pricing_plan";i:0;s:21:"google_analytics_code";s:15:"UA-113767668-49";s:31:"google_analytics_linker_domains";s:0:"";s:26:"google_analytics_four_code";N;s:15:"paypal_api_data";s:0:"";s:16:"meta_description";s:122:"Order online from Bao Asian Fusion & Sushi Bar in Louisville, CO for chinese, thai, asian food, sushi delivery and takeout";s:13:"meta_keywords";s:716:"bao louisville, bap asian fusion & sushi, bao asian fusion, bao asian fusion louisville, bao asian fusion menu, louisville chinese delivery, louisville chinese food, louisville chinese restaurants, chinese delivery, louisville sushi restaurants, louisville asian fusion restaurants, louisville asian restaurants, louisville thai restaurants, louisville sushi restaurants, louisville japanese restaurants, louisville sushi delivery, louisville sushi takeout, louisville sushi, best sushi in louisville, louisville japanese food, louisville asian food, chinese restaurants near me, best chinese restaurants in louisville, best asian food in louisville, asian restaurants in louisiville, sushi restaurants in louisville";s:19:"getresponse_api_key";s:0:"";s:25:"getresponse_campaign_name";s:0:"";s:23:"getresponse_campaign_id";s:0:"";s:13:"email_service";s:3:"SES";s:14:"phone_priority";s:30:"["TWILIO","BANDWIDTH","PLIVO"]";s:12:"sms_priority";s:30:"["TWILIO","BANDWIDTH","PLIVO"]";s:11:"fax_service";s:6:"PHAXIO";s:18:"order_sms_priority";s:38:"["TWILIO","PLIVO","NEXMO","BANDWIDTH"]";s:19:"order_sms_hide_link";i:0;s:27:"order_sms_show_account_name";i:0;s:12:"fax_priority";s:29:"["CONCORD","PHAXIO","TWILIO"]";s:13:"admin_version";i:0;s:20:"group_orders_enabled";i:0;s:19:"auto_upsell_enabled";i:0;s:25:"hide_special_instructions";i:0;s:29:"special_instructions_required";i:0;s:28:"special_instructions_details";s:0:"";s:17:"homepage_override";s:0:"";s:13:"site_redirect";s:0:"";s:20:"admin_id_menu_access";i:0;s:6:"use_km";i:0;s:21:"default_ordering_page";i:0;s:14:"cancelled_date";s:19:"0000-00-00 00:00:00";s:17:"validate_callback";i:1;s:17:"skip_time_warning";i:0;s:7:"api_key";s:0:"";s:17:"facebook_pixel_id";s:0:"";s:21:"constant_contact_code";s:0:"";s:24:"constant_contact_form_id";s:0:"";s:38:"yelp_reservations_calendar_widget_code";s:0:"";s:21:"default_restaurant_id";i:7200;s:12:"allow_delete";i:0;s:31:"sms_order_notifications_enabled";i:0;s:36:"sms_order_notifications_for_delivery";i:0;s:34:"sms_order_notifications_for_dinein";i:0;s:34:"sms_order_notifications_for_pickup";i:0;s:31:"sms_order_notifications_minutes";i:0;s:25:"inventory_manager_enabled";i:0;s:18:"how_heard_about_us";N;s:26:"account_status_modified_at";N;s:35:"hide_restaurant_closed_checkout_msg";i:0;s:12:"use_v4_theme";N;s:32:"show_created_at_on_order_monitor";N;s:23:"show_cross_street_field";i:0;s:18:"announcements_html";N;s:21:"announcements_enabled";i:0;s:26:"announcements_expired_date";N;s:25:"display_zero_dollar_items";i:0;s:20:"new_receipt_disabled";i:0;s:23:"receipt_signature_shown";i:0;s:23:"receipt_extra_tip_shown";i:0;s:19:"receipt_email_shown";i:0;s:15:"is_receipt_bold";i:0;s:17:"receipt_font_size";i:100;s:19:"announcements_place";s:6:"header";s:9:"logo_size";s:10:"horizontal";s:23:"payment_options_enabled";i:0;s:16:"open_graph_image";N;s:25:"pos_notifications_enabled";i:0;s:35:"itsacheckmate_notifications_enabled";i:0;s:16:"menu_api_webhook";N;s:12:"menu_updated";i:0;s:36:"payment_aggregator_messaging_enabled";i:0;s:17:"sales_tax_enabled";i:0;s:8:"tax_code";N;s:22:"shipday_enabled_status";i:0;s:35:"print_orders_without_prices_enabled";i:0;s:29:"shipday_auto_dispatch_enabled";i:0;s:28:"deliver_by_ourselves_enabled";i:0;s:36:"third_party_optimal_delivery_enabled";i:0;s:35:"third_party_services_status_enabled";i:0;s:18:"payment_aggregator";s:15:"CHINESE TAKEOUT";s:35:"daily_summary_detailed_fees_enabled";i:0;s:32:"springroll_announcements_enabled";i:0;s:31:"springroll_announcements_copied";i:0;s:29:"springroll_announcements_html";N;s:37:"springroll_announcements_expired_date";N;s:30:"springroll_announcements_place";s:6:"header";s:20:"adjustments_disabled";i:0;s:16:"use_new_homepage";i:0;}s:11:"\x00*\x00original";a:219:{s:11:"primary_fax";s:15:"(303) 926-1922 ";s:13:"primary_phone";s:15:"(303) 926-1888 ";s:3:"zip";s:5:"80027";s:5:"state";s:2:"CO";s:4:"city";s:10:"Louisville";s:7:"street2";s:0:"";s:7:"street1";s:19:"594 S McCaslin Blvd";s:2:"id";i:20936;s:9:"id_string";s:24:"baoasianfusionlouisville";s:7:"url_tag";s:24:"baoasianfusionlouisville";s:17:"marketing_url_tag";s:24:"baoasianfusionlouisville";s:12:"display_name";s:37:"Bao Asian Fusion & Sushi - Louisville";s:5:"email";s:26:"info@chinesemenuonline.com";s:8:"password";s:60:"$2y$10$ptIM12TDnr1ul0BRe0GQQuv7z5mmy5QHYOxr9OZ0zunLsJoYMFc/i";s:22:"password_last_modified";N;s:9:"tfa_since";N;s:10:"tfa_secret";N;s:8:"timezone";i:1;s:5:"suite";s:0:"";s:9:"is_locked";i:0;s:14:"logo_file_name";s:0:"";s:9:"app_title";s:37:"Bao Asian Fusion & Sushi - Louisville";s:14:"app_page_title";s:133:"Bao Asian Fusion & Sushi Bar | Order Online | 594 S McCaslin Blvd,, Louisville, CO | Chinese, Thai, Asian, Japanese, Sushi Restaurant";s:17:"always_show_title";i:1;s:10:"custom_css";s:0:"";s:13:"homepage_html";s:1059:"<h1 style="font-size:22px;">Welcome to {ACCOUNT_NAME}</h1>\n \n <div style="color:#555555;font-size:1.2em;font-weight:bolder;">{CURRENT_DATE}</div>\n \n <p>Bao Asiann Fusion & Sushi offers authentic and delicious tasting Chinese and Asian cuisines as well as fresh sushi Louisville, CO. Bao Asian Fusion & Sushi's convenient location and affordable prices make our restaurant a natural choice for dine-in and take-out meals in the Louisville community. Our restaurant is known for its varieties of taste and fresh ingredients. Come and experience our friendly atmosphere and excellent service.</p>\n <div style="color:#555555;font-size:1.2em;font-weight:bolder;">\n We Deliver. For Convenience, Order Online!</div>\n \n \n <p>Get started by clicking below or choosing a menu category on the right. Once you've selected the items you wish to order, you will be asked to register and the checkout. Your order will be sent to the restaurant, to be ready at the time you specify. It's that easy!</p>\n \n <h2><a href="?form=ordering">Start a New Order!</a></h2>\n \n <p> </p>\n ";s:12:"is_cancelled";i:0;s:10:"created_at";s:19:"2016-04-27 07:27:59";s:11:"modified_at";s:19:"2019-02-03 11:32:27";s:23:"normalized_search_terms";s:0:"";s:15:"enabled_modules";s:5:"5376a";s:22:"default_user_full_name";s:17:"SAMPLE - DELIVERY";s:10:"first_name";s:0:"";s:9:"last_name";s:0:"";s:9:"job_title";s:0:"";s:19:"menubuddies_enabled";i:0;s:24:"seo_description_disabled";i:0;s:28:"self_print_campaigns_allowed";i:0;s:16:"default_currency";s:0:"";s:30:"reseller_user_invoice_currency";N;s:20:"payment_processor_id";i:0;s:23:"payment_processor_txkey";s:0:"";s:25:"payment_processor_loginid";s:0:"";s:28:"payment_processor_public_key";s:0:"";s:20:"order_calendar_color";s:0:"";s:23:"activity_calendar_color";s:0:"";s:20:"other_calendar_color";s:0:"";s:25:"order_calendar_foreground";s:0:"";s:28:"activity_calendar_foreground";s:0:"";s:25:"other_calendar_foreground";s:0:"";s:13:"mobile_number";s:15:"(646) 541-3883 ";s:14:"sms_is_enabled";i:0;s:19:"hide_logo_in_header";i:0;s:11:"template_id";i:34;s:19:"website_template_id";i:0;s:24:"website_template_enabled";i:0;s:19:"preview_template_id";i:0;s:21:"custom_admin_template";i:0;s:23:"same_page_cart_disabled";i:0;s:11:"show_coupon";i:1;s:11:"show_search";i:1;s:25:"menu_link_choose_location";i:0;s:10:"is_all_ssl";i:0;s:22:"custom_fax_layout_file";s:0:"";s:7:"is_demo";i:0;s:11:"is_billable";i:1;s:14:"last_billed_on";s:19:"0000-00-00 00:00:00";s:16:"start_billing_on";s:19:"2015-10-23 20:15:05";s:12:"pdf_password";s:7:"grape23";s:11:"invite_code";s:0:"";s:17:"custom_stylesheet";s:0:"";s:19:"show_student_fields";i:0;s:16:"reseller_user_id";i:66;s:10:"logo_width";i:0;s:11:"logo_height";i:0;s:12:"directory_id";i:0;s:19:"location_name_alias";s:0:"";s:15:"custom_survo_id";s:0:"";s:19:"max_calls_per_order";i:0;s:26:"old_ehungry_restaurant_ids";s:0:"";s:22:"previous_homepage_html";s:0:"";s:25:"order_confirmation_markup";s:0:"";s:21:"additional_custom_css";s:0:"";s:18:"individual_billing";i:0;s:20:"category_list_layout";s:0:"";s:30:"obscure_payment_info_on_orders";s:1:"0";s:17:"is_directory_only";i:0;s:23:"desktop_client_password";s:0:"";s:37:"desktop_client_password_last_modified";N;s:23:"manual_payment_captures";i:0;s:27:"payment_processor_test_mode";i:0;s:17:"affiliate_user_id";i:0;s:24:"show_option_choice_names";i:0;s:7:"tagline";s:0:"";s:20:"print_order_xml_file";s:0:"";s:17:"order_sequence_id";i:0;s:24:"sequence_numbers_enabled";i:0;s:25:"custom_ordersheet_message";s:59:"Please Process Credit Card or Collect Payment From Customer";s:34:"customer_custom_ordersheet_message";s:0:"";s:17:"account_tab_label";s:0:"";s:18:"calendar_tab_label";s:0:"";s:15:"order_tab_label";s:0:"";s:19:"hide_customer_stats";i:0;s:23:"show_errors_in_dialogue";i:0;s:26:"show_advanced_addon_params";i:0;s:25:"show_menus_simultaneously";i:0;s:8:"is_store";i:0;s:23:"default_menu_item_image";s:0:"";s:34:"add_customer_receipt_to_ordersheet";i:0;s:34:"add_new_customer_msg_to_ordersheet";i:0;s:25:"is_nonstandard_ordersheet";i:0;s:31:"permit_customer_order_deletions";i:0;s:16:"hide_price_names";i:0;s:29:"show_location_on_print_ticket";i:0;s:20:"custom_rightbar_info";s:0:"";s:30:"show_homepage_on_ordering_page";i:0;s:21:"show_price_names_only";i:0;s:21:"sms_send_by_secondary";i:0;s:26:"hidden_registration_fields";s:0:"";s:20:"allow_guest_checkout";i:1;s:10:"force_bill";i:0;s:20:"location_list_format";s:0:"";s:20:"allow_client_scripts";i:0;s:15:"has_mobile_site";i:0;s:17:"last_suspended_on";s:19:"0000-00-00 00:00:00";s:8:"bill_day";i:23;s:10:"force_efax";i:0;s:14:"mobile_tablets";i:0;s:14:"force_metrofax";i:0;s:12:"social_links";s:0:"";s:9:"home_link";s:0:"";s:14:"copyright_name";s:0:"";s:12:"pricing_plan";i:0;s:21:"google_analytics_code";s:15:"UA-113767668-49";s:31:"google_analytics_linker_domains";s:0:"";s:26:"google_analytics_four_code";N;s:15:"paypal_api_data";s:0:"";s:16:"meta_description";s:122:"Order online from Bao Asian Fusion & Sushi Bar in Louisville, CO for chinese, thai, asian food, sushi delivery and takeout";s:13:"meta_keywords";s:716:"bao louisville, bap asian fusion & sushi, bao asian fusion, bao asian fusion louisville, bao asian fusion menu, louisville chinese delivery, louisville chinese food, louisville chinese restaurants, chinese delivery, louisville sushi restaurants, louisville asian fusion restaurants, louisville asian restaurants, louisville thai restaurants, louisville sushi restaurants, louisville japanese restaurants, louisville sushi delivery, louisville sushi takeout, louisville sushi, best sushi in louisville, louisville japanese food, louisville asian food, chinese restaurants near me, best chinese restaurants in louisville, best asian food in louisville, asian restaurants in louisiville, sushi restaurants in louisville";s:19:"getresponse_api_key";s:0:"";s:25:"getresponse_campaign_name";s:0:"";s:23:"getresponse_campaign_id";s:0:"";s:13:"email_service";s:3:"SES";s:14:"phone_priority";s:30:"["TWILIO","BANDWIDTH","PLIVO"]";s:12:"sms_priority";s:30:"["TWILIO","BANDWIDTH","PLIVO"]";s:11:"fax_service";s:6:"PHAXIO";s:18:"order_sms_priority";s:38:"["TWILIO","PLIVO","NEXMO","BANDWIDTH"]";s:19:"order_sms_hide_link";i:0;s:27:"order_sms_show_account_name";i:0;s:12:"fax_priority";s:29:"["CONCORD","PHAXIO","TWILIO"]";s:13:"admin_version";i:0;s:20:"group_orders_enabled";i:0;s:19:"auto_upsell_enabled";i:0;s:25:"hide_special_instructions";i:0;s:29:"special_instructions_required";i:0;s:28:"special_instructions_details";s:0:"";s:17:"homepage_override";s:0:"";s:13:"site_redirect";s:0:"";s:20:"admin_id_menu_access";i:0;s:6:"use_km";i:0;s:21:"default_ordering_page";i:0;s:14:"cancelled_date";s:19:"0000-00-00 00:00:00";s:17:"validate_callback";i:1;s:17:"skip_time_warning";i:0;s:7:"api_key";s:0:"";s:17:"facebook_pixel_id";s:0:"";s:21:"constant_contact_code";s:0:"";s:24:"constant_contact_form_id";s:0:"";s:38:"yelp_reservations_calendar_widget_code";s:0:"";s:21:"default_restaurant_id";i:7200;s:12:"allow_delete";i:0;s:31:"sms_order_notifications_enabled";i:0;s:36:"sms_order_notifications_for_delivery";i:0;s:34:"sms_order_notifications_for_dinein";i:0;s:34:"sms_order_notifications_for_pickup";i:0;s:31:"sms_order_notifications_minutes";i:0;s:25:"inventory_manager_enabled";i:0;s:18:"how_heard_about_us";N;s:26:"account_status_modified_at";N;s:35:"hide_restaurant_closed_checkout_msg";i:0;s:12:"use_v4_theme";N;s:32:"show_created_at_on_order_monitor";N;s:23:"show_cross_street_field";i:0;s:18:"announcements_html";N;s:21:"announcements_enabled";i:0;s:26:"announcements_expired_date";N;s:25:"display_zero_dollar_items";i:0;s:20:"new_receipt_disabled";i:0;s:23:"receipt_signature_shown";i:0;s:23:"receipt_extra_tip_shown";i:0;s:19:"receipt_email_shown";i:0;s:15:"is_receipt_bold";i:0;s:17:"receipt_font_size";i:100;s:19:"announcements_place";s:6:"header";s:9:"logo_size";s:10:"horizontal";s:23:"payment_options_enabled";i:0;s:16:"open_graph_image";N;s:25:"pos_notifications_enabled";i:0;s:35:"itsacheckmate_notifications_enabled";i:0;s:16:"menu_api_webhook";N;s:12:"menu_updated";i:0;s:36:"payment_aggregator_messaging_enabled";i:0;s:17:"sales_tax_enabled";i:0;s:8:"tax_code";N;s:22:"shipday_enabled_status";i:0;s:35:"print_orders_without_prices_enabled";i:0;s:29:"shipday_auto_dispatch_enabled";i:0;s:28:"deliver_by_ourselves_enabled";i:0;s:36:"third_party_optimal_delivery_enabled";i:0;s:35:"third_party_services_status_enabled";i:0;s:18:"payment_aggregator";s:15:"CHINESE TAKEOUT";s:35:"daily_summary_detailed_fees_enabled";i:0;s:32:"springroll_announcements_enabled";i:0;s:31:"springroll_announcements_copied";i:0;s:29:"springroll_announcements_html";N;s:37:"springroll_announcements_expired_date";N;s:30:"springroll_announcements_place";s:6:"header";s:20:"adjustments_disabled";i:0;s:16:"use_new_homepage";i:0;}s:8:"\x00*\x00dates";a:0:{}s:13:"\x00*\x00dateFormat";N;s:9:"\x00*\x00events";a:0:{}s:14:"\x00*\x00observables";a:0:{}s:12:"\x00*\x00relations";a:0:{}s:10:"\x00*\x00touches";a:0:{}s:10:"\x00*\x00visible";a:0:{}s:11:"\x00*\x00fillable";a:0:{}s:10:"\x00*\x00guarded";a:1:{i:0;s:1:"*";}s:17:"\x00*\x00_uploadAccount";N;} """
public static function getInstance() {
if (static::$redisObj === null) {
static::$redisObj = new Redis();
try {
if (!@static::$redisObj->connect(static::$host, (int)static::$port)) {
static::$redisObj = false;
Splunk::log(Splunk::LOG_REDIS_CONN, ['error' => 'Error connecting']);
} else {
static::$redisObj->select(static::$db);
}
} catch (RedisException $e) {
static::$redisObj = false;
Splunk::log(Splunk::LOG_REDIS_CONN, ['error' => 'Error connecting: '.$e->getMessage()]);
}
}
return static::$redisObj;
}
public static function SetObject($key, $var, $expire = 86400) {
return static::Set($key, serialize($var), $expire);
}
public static function SetArray($key, $var, $expire = 86400) {
return static::Set($key, serialize($var), $expire);
}
public static function SetBoolean($key, $var, $expire = 86400) {
return static::Set($key, serialize($var), $expire);
}
public static function Set($key, $var, $expire = 86400) {
App::debugbarLog('debug', "Cache set: $key");
if ($i = static::getInstance()) {
$var = static::beforeSet($var);
return $expire > 0?
$i->setEx($key, $expire, $var) :
$i->set($key, $var);
}
return null;
}
"bc_account_20936"
""" O:7:"Account":30:{s:13:"\x00Account\x00plan";N;s:10:"timestamps";b:1;s:25:"\x00Account\x00_hasCustomDomain";N;s:8:"\x00*\x00casts";a:1:{s:13:"embed_origins";s:5:"array";}s:10:"\x00*\x00appends";a:2:{i:0;s:23:"location_wording_plural";i:1;s:25:"shipday_globally_disabled";}s:12:"pdfPageCount";i:0;s:9:"\x00*\x00hidden";a:1:{i:0;s:8:"password";}s:12:"\x00*\x00nullables";a:0:{}s:13:"\x00*\x00connection";s:7:"default";s:8:"\x00*\x00table";N;s:13:"\x00*\x00primaryKey";s:2:"id";s:10:"\x00*\x00keyType";s:3:"int";s:12:"incrementing";b:1;s:7:"\x00*\x00with";a:0:{}s:12:"\x00*\x00withCount";a:0:{}s:10:"\x00*\x00perPage";i:15;s:6:"exists";b:1;s:18:"wasRecentlyCreated";b:0;s:13:"\x00*\x00attributes";a:219:{s:11:"primary_fax";s:15:"(303) 926-1922 ";s:13:"primary_phone";s:15:"(303) 926-1888 ";s:3:"zip";s:5:"80027";s:5:"state";s:2:"CO";s:4:"city";s:10:"Louisville";s:7:"street2";s:0:"";s:7:"street1";s:19:"594 S McCaslin Blvd";s:2:"id";i:20936;s:9:"id_string";s:24:"baoasianfusionlouisville";s:7:"url_tag";s:24:"baoasianfusionlouisville";s:17:"marketing_url_tag";s:24:"baoasianfusionlouisville";s:12:"display_name";s:37:"Bao Asian Fusion & Sushi - Louisville";s:5:"email";s:26:"info@chinesemenuonline.com";s:8:"password";s:60:"$2y$10$ptIM12TDnr1ul0BRe0GQQuv7z5mmy5QHYOxr9OZ0zunLsJoYMFc/i";s:22:"password_last_modified";N;s:9:"tfa_since";N;s:10:"tfa_secret";N;s:8:"timezone";i:1;s:5:"suite";s:0:"";s:9:"is_locked";i:0;s:14:"logo_file_name";s:0:"";s:9:"app_title";s:37:"Bao Asian Fusion & Sushi - Louisville";s:14:"app_page_title";s:133:"Bao Asian Fusion & Sushi Bar | Order Online | 594 S McCaslin Blvd,, Louisville, CO | Chinese, Thai, Asian, Japanese, Sushi Restaurant";s:17:"always_show_title";i:1;s:10:"custom_css";s:0:"";s:13:"homepage_html";s:1059:"<h1 style="font-size:22px;">Welcome to {ACCOUNT_NAME}</h1>\n \n <div style="color:#555555;font-size:1.2em;font-weight:bolder;">{CURRENT_DATE}</div>\n \n <p>Bao Asiann Fusion & Sushi offers authentic and delicious tasting Chinese and Asian cuisines as well as fresh sushi Louisville, CO. Bao Asian Fusion & Sushi's convenient location and affordable prices make our restaurant a natural choice for dine-in and take-out meals in the Louisville community. Our restaurant is known for its varieties of taste and fresh ingredients. Come and experience our friendly atmosphere and excellent service.</p>\n <div style="color:#555555;font-size:1.2em;font-weight:bolder;">\n We Deliver. For Convenience, Order Online!</div>\n \n \n <p>Get started by clicking below or choosing a menu category on the right. Once you've selected the items you wish to order, you will be asked to register and the checkout. Your order will be sent to the restaurant, to be ready at the time you specify. It's that easy!</p>\n \n <h2><a href="?form=ordering">Start a New Order!</a></h2>\n \n <p> </p>\n ";s:12:"is_cancelled";i:0;s:10:"created_at";s:19:"2016-04-27 07:27:59";s:11:"modified_at";s:19:"2019-02-03 11:32:27";s:23:"normalized_search_terms";s:0:"";s:15:"enabled_modules";s:5:"5376a";s:22:"default_user_full_name";s:17:"SAMPLE - DELIVERY";s:10:"first_name";s:0:"";s:9:"last_name";s:0:"";s:9:"job_title";s:0:"";s:19:"menubuddies_enabled";i:0;s:24:"seo_description_disabled";i:0;s:28:"self_print_campaigns_allowed";i:0;s:16:"default_currency";s:0:"";s:30:"reseller_user_invoice_currency";N;s:20:"payment_processor_id";i:0;s:23:"payment_processor_txkey";s:0:"";s:25:"payment_processor_loginid";s:0:"";s:28:"payment_processor_public_key";s:0:"";s:20:"order_calendar_color";s:0:"";s:23:"activity_calendar_color";s:0:"";s:20:"other_calendar_color";s:0:"";s:25:"order_calendar_foreground";s:0:"";s:28:"activity_calendar_foreground";s:0:"";s:25:"other_calendar_foreground";s:0:"";s:13:"mobile_number";s:15:"(646) 541-3883 ";s:14:"sms_is_enabled";i:0;s:19:"hide_logo_in_header";i:0;s:11:"template_id";i:34;s:19:"website_template_id";i:0;s:24:"website_template_enabled";i:0;s:19:"preview_template_id";i:0;s:21:"custom_admin_template";i:0;s:23:"same_page_cart_disabled";i:0;s:11:"show_coupon";i:1;s:11:"show_search";i:1;s:25:"menu_link_choose_location";i:0;s:10:"is_all_ssl";i:0;s:22:"custom_fax_layout_file";s:0:"";s:7:"is_demo";i:0;s:11:"is_billable";i:1;s:14:"last_billed_on";s:19:"0000-00-00 00:00:00";s:16:"start_billing_on";s:19:"2015-10-23 20:15:05";s:12:"pdf_password";s:7:"grape23";s:11:"invite_code";s:0:"";s:17:"custom_stylesheet";s:0:"";s:19:"show_student_fields";i:0;s:16:"reseller_user_id";i:66;s:10:"logo_width";i:0;s:11:"logo_height";i:0;s:12:"directory_id";i:0;s:19:"location_name_alias";s:0:"";s:15:"custom_survo_id";s:0:"";s:19:"max_calls_per_order";i:0;s:26:"old_ehungry_restaurant_ids";s:0:"";s:22:"previous_homepage_html";s:0:"";s:25:"order_confirmation_markup";s:0:"";s:21:"additional_custom_css";s:0:"";s:18:"individual_billing";i:0;s:20:"category_list_layout";s:0:"";s:30:"obscure_payment_info_on_orders";s:1:"0";s:17:"is_directory_only";i:0;s:23:"desktop_client_password";s:0:"";s:37:"desktop_client_password_last_modified";N;s:23:"manual_payment_captures";i:0;s:27:"payment_processor_test_mode";i:0;s:17:"affiliate_user_id";i:0;s:24:"show_option_choice_names";i:0;s:7:"tagline";s:0:"";s:20:"print_order_xml_file";s:0:"";s:17:"order_sequence_id";i:0;s:24:"sequence_numbers_enabled";i:0;s:25:"custom_ordersheet_message";s:59:"Please Process Credit Card or Collect Payment From Customer";s:34:"customer_custom_ordersheet_message";s:0:"";s:17:"account_tab_label";s:0:"";s:18:"calendar_tab_label";s:0:"";s:15:"order_tab_label";s:0:"";s:19:"hide_customer_stats";i:0;s:23:"show_errors_in_dialogue";i:0;s:26:"show_advanced_addon_params";i:0;s:25:"show_menus_simultaneously";i:0;s:8:"is_store";i:0;s:23:"default_menu_item_image";s:0:"";s:34:"add_customer_receipt_to_ordersheet";i:0;s:34:"add_new_customer_msg_to_ordersheet";i:0;s:25:"is_nonstandard_ordersheet";i:0;s:31:"permit_customer_order_deletions";i:0;s:16:"hide_price_names";i:0;s:29:"show_location_on_print_ticket";i:0;s:20:"custom_rightbar_info";s:0:"";s:30:"show_homepage_on_ordering_page";i:0;s:21:"show_price_names_only";i:0;s:21:"sms_send_by_secondary";i:0;s:26:"hidden_registration_fields";s:0:"";s:20:"allow_guest_checkout";i:1;s:10:"force_bill";i:0;s:20:"location_list_format";s:0:"";s:20:"allow_client_scripts";i:0;s:15:"has_mobile_site";i:0;s:17:"last_suspended_on";s:19:"0000-00-00 00:00:00";s:8:"bill_day";i:23;s:10:"force_efax";i:0;s:14:"mobile_tablets";i:0;s:14:"force_metrofax";i:0;s:12:"social_links";s:0:"";s:9:"home_link";s:0:"";s:14:"copyright_name";s:0:"";s:12:"pricing_plan";i:0;s:21:"google_analytics_code";s:15:"UA-113767668-49";s:31:"google_analytics_linker_domains";s:0:"";s:26:"google_analytics_four_code";N;s:15:"paypal_api_data";s:0:"";s:16:"meta_description";s:122:"Order online from Bao Asian Fusion & Sushi Bar in Louisville, CO for chinese, thai, asian food, sushi delivery and takeout";s:13:"meta_keywords";s:716:"bao louisville, bap asian fusion & sushi, bao asian fusion, bao asian fusion louisville, bao asian fusion menu, louisville chinese delivery, louisville chinese food, louisville chinese restaurants, chinese delivery, louisville sushi restaurants, louisville asian fusion restaurants, louisville asian restaurants, louisville thai restaurants, louisville sushi restaurants, louisville japanese restaurants, louisville sushi delivery, louisville sushi takeout, louisville sushi, best sushi in louisville, louisville japanese food, louisville asian food, chinese restaurants near me, best chinese restaurants in louisville, best asian food in louisville, asian restaurants in louisiville, sushi restaurants in louisville";s:19:"getresponse_api_key";s:0:"";s:25:"getresponse_campaign_name";s:0:"";s:23:"getresponse_campaign_id";s:0:"";s:13:"email_service";s:3:"SES";s:14:"phone_priority";s:30:"["TWILIO","BANDWIDTH","PLIVO"]";s:12:"sms_priority";s:30:"["TWILIO","BANDWIDTH","PLIVO"]";s:11:"fax_service";s:6:"PHAXIO";s:18:"order_sms_priority";s:38:"["TWILIO","PLIVO","NEXMO","BANDWIDTH"]";s:19:"order_sms_hide_link";i:0;s:27:"order_sms_show_account_name";i:0;s:12:"fax_priority";s:29:"["CONCORD","PHAXIO","TWILIO"]";s:13:"admin_version";i:0;s:20:"group_orders_enabled";i:0;s:19:"auto_upsell_enabled";i:0;s:25:"hide_special_instructions";i:0;s:29:"special_instructions_required";i:0;s:28:"special_instructions_details";s:0:"";s:17:"homepage_override";s:0:"";s:13:"site_redirect";s:0:"";s:20:"admin_id_menu_access";i:0;s:6:"use_km";i:0;s:21:"default_ordering_page";i:0;s:14:"cancelled_date";s:19:"0000-00-00 00:00:00";s:17:"validate_callback";i:1;s:17:"skip_time_warning";i:0;s:7:"api_key";s:0:"";s:17:"facebook_pixel_id";s:0:"";s:21:"constant_contact_code";s:0:"";s:24:"constant_contact_form_id";s:0:"";s:38:"yelp_reservations_calendar_widget_code";s:0:"";s:21:"default_restaurant_id";i:7200;s:12:"allow_delete";i:0;s:31:"sms_order_notifications_enabled";i:0;s:36:"sms_order_notifications_for_delivery";i:0;s:34:"sms_order_notifications_for_dinein";i:0;s:34:"sms_order_notifications_for_pickup";i:0;s:31:"sms_order_notifications_minutes";i:0;s:25:"inventory_manager_enabled";i:0;s:18:"how_heard_about_us";N;s:26:"account_status_modified_at";N;s:35:"hide_restaurant_closed_checkout_msg";i:0;s:12:"use_v4_theme";N;s:32:"show_created_at_on_order_monitor";N;s:23:"show_cross_street_field";i:0;s:18:"announcements_html";N;s:21:"announcements_enabled";i:0;s:26:"announcements_expired_date";N;s:25:"display_zero_dollar_items";i:0;s:20:"new_receipt_disabled";i:0;s:23:"receipt_signature_shown";i:0;s:23:"receipt_extra_tip_shown";i:0;s:19:"receipt_email_shown";i:0;s:15:"is_receipt_bold";i:0;s:17:"receipt_font_size";i:100;s:19:"announcements_place";s:6:"header";s:9:"logo_size";s:10:"horizontal";s:23:"payment_options_enabled";i:0;s:16:"open_graph_image";N;s:25:"pos_notifications_enabled";i:0;s:35:"itsacheckmate_notifications_enabled";i:0;s:16:"menu_api_webhook";N;s:12:"menu_updated";i:0;s:36:"payment_aggregator_messaging_enabled";i:0;s:17:"sales_tax_enabled";i:0;s:8:"tax_code";N;s:22:"shipday_enabled_status";i:0;s:35:"print_orders_without_prices_enabled";i:0;s:29:"shipday_auto_dispatch_enabled";i:0;s:28:"deliver_by_ourselves_enabled";i:0;s:36:"third_party_optimal_delivery_enabled";i:0;s:35:"third_party_services_status_enabled";i:0;s:18:"payment_aggregator";s:15:"CHINESE TAKEOUT";s:35:"daily_summary_detailed_fees_enabled";i:0;s:32:"springroll_announcements_enabled";i:0;s:31:"springroll_announcements_copied";i:0;s:29:"springroll_announcements_html";N;s:37:"springroll_announcements_expired_date";N;s:30:"springroll_announcements_place";s:6:"header";s:20:"adjustments_disabled";i:0;s:16:"use_new_homepage";i:0;}s:11:"\x00*\x00original";a:219:{s:11:"primary_fax";s:15:"(303) 926-1922 ";s:13:"primary_phone";s:15:"(303) 926-1888 ";s:3:"zip";s:5:"80027";s:5:"state";s:2:"CO";s:4:"city";s:10:"Louisville";s:7:"street2";s:0:"";s:7:"street1";s:19:"594 S McCaslin Blvd";s:2:"id";i:20936;s:9:"id_string";s:24:"baoasianfusionlouisville";s:7:"url_tag";s:24:"baoasianfusionlouisville";s:17:"marketing_url_tag";s:24:"baoasianfusionlouisville";s:12:"display_name";s:37:"Bao Asian Fusion & Sushi - Louisville";s:5:"email";s:26:"info@chinesemenuonline.com";s:8:"password";s:60:"$2y$10$ptIM12TDnr1ul0BRe0GQQuv7z5mmy5QHYOxr9OZ0zunLsJoYMFc/i";s:22:"password_last_modified";N;s:9:"tfa_since";N;s:10:"tfa_secret";N;s:8:"timezone";i:1;s:5:"suite";s:0:"";s:9:"is_locked";i:0;s:14:"logo_file_name";s:0:"";s:9:"app_title";s:37:"Bao Asian Fusion & Sushi - Louisville";s:14:"app_page_title";s:133:"Bao Asian Fusion & Sushi Bar | Order Online | 594 S McCaslin Blvd,, Louisville, CO | Chinese, Thai, Asian, Japanese, Sushi Restaurant";s:17:"always_show_title";i:1;s:10:"custom_css";s:0:"";s:13:"homepage_html";s:1059:"<h1 style="font-size:22px;">Welcome to {ACCOUNT_NAME}</h1>\n \n <div style="color:#555555;font-size:1.2em;font-weight:bolder;">{CURRENT_DATE}</div>\n \n <p>Bao Asiann Fusion & Sushi offers authentic and delicious tasting Chinese and Asian cuisines as well as fresh sushi Louisville, CO. Bao Asian Fusion & Sushi's convenient location and affordable prices make our restaurant a natural choice for dine-in and take-out meals in the Louisville community. Our restaurant is known for its varieties of taste and fresh ingredients. Come and experience our friendly atmosphere and excellent service.</p>\n <div style="color:#555555;font-size:1.2em;font-weight:bolder;">\n We Deliver. For Convenience, Order Online!</div>\n \n \n <p>Get started by clicking below or choosing a menu category on the right. Once you've selected the items you wish to order, you will be asked to register and the checkout. Your order will be sent to the restaurant, to be ready at the time you specify. It's that easy!</p>\n \n <h2><a href="?form=ordering">Start a New Order!</a></h2>\n \n <p> </p>\n ";s:12:"is_cancelled";i:0;s:10:"created_at";s:19:"2016-04-27 07:27:59";s:11:"modified_at";s:19:"2019-02-03 11:32:27";s:23:"normalized_search_terms";s:0:"";s:15:"enabled_modules";s:5:"5376a";s:22:"default_user_full_name";s:17:"SAMPLE - DELIVERY";s:10:"first_name";s:0:"";s:9:"last_name";s:0:"";s:9:"job_title";s:0:"";s:19:"menubuddies_enabled";i:0;s:24:"seo_description_disabled";i:0;s:28:"self_print_campaigns_allowed";i:0;s:16:"default_currency";s:0:"";s:30:"reseller_user_invoice_currency";N;s:20:"payment_processor_id";i:0;s:23:"payment_processor_txkey";s:0:"";s:25:"payment_processor_loginid";s:0:"";s:28:"payment_processor_public_key";s:0:"";s:20:"order_calendar_color";s:0:"";s:23:"activity_calendar_color";s:0:"";s:20:"other_calendar_color";s:0:"";s:25:"order_calendar_foreground";s:0:"";s:28:"activity_calendar_foreground";s:0:"";s:25:"other_calendar_foreground";s:0:"";s:13:"mobile_number";s:15:"(646) 541-3883 ";s:14:"sms_is_enabled";i:0;s:19:"hide_logo_in_header";i:0;s:11:"template_id";i:34;s:19:"website_template_id";i:0;s:24:"website_template_enabled";i:0;s:19:"preview_template_id";i:0;s:21:"custom_admin_template";i:0;s:23:"same_page_cart_disabled";i:0;s:11:"show_coupon";i:1;s:11:"show_search";i:1;s:25:"menu_link_choose_location";i:0;s:10:"is_all_ssl";i:0;s:22:"custom_fax_layout_file";s:0:"";s:7:"is_demo";i:0;s:11:"is_billable";i:1;s:14:"last_billed_on";s:19:"0000-00-00 00:00:00";s:16:"start_billing_on";s:19:"2015-10-23 20:15:05";s:12:"pdf_password";s:7:"grape23";s:11:"invite_code";s:0:"";s:17:"custom_stylesheet";s:0:"";s:19:"show_student_fields";i:0;s:16:"reseller_user_id";i:66;s:10:"logo_width";i:0;s:11:"logo_height";i:0;s:12:"directory_id";i:0;s:19:"location_name_alias";s:0:"";s:15:"custom_survo_id";s:0:"";s:19:"max_calls_per_order";i:0;s:26:"old_ehungry_restaurant_ids";s:0:"";s:22:"previous_homepage_html";s:0:"";s:25:"order_confirmation_markup";s:0:"";s:21:"additional_custom_css";s:0:"";s:18:"individual_billing";i:0;s:20:"category_list_layout";s:0:"";s:30:"obscure_payment_info_on_orders";s:1:"0";s:17:"is_directory_only";i:0;s:23:"desktop_client_password";s:0:"";s:37:"desktop_client_password_last_modified";N;s:23:"manual_payment_captures";i:0;s:27:"payment_processor_test_mode";i:0;s:17:"affiliate_user_id";i:0;s:24:"show_option_choice_names";i:0;s:7:"tagline";s:0:"";s:20:"print_order_xml_file";s:0:"";s:17:"order_sequence_id";i:0;s:24:"sequence_numbers_enabled";i:0;s:25:"custom_ordersheet_message";s:59:"Please Process Credit Card or Collect Payment From Customer";s:34:"customer_custom_ordersheet_message";s:0:"";s:17:"account_tab_label";s:0:"";s:18:"calendar_tab_label";s:0:"";s:15:"order_tab_label";s:0:"";s:19:"hide_customer_stats";i:0;s:23:"show_errors_in_dialogue";i:0;s:26:"show_advanced_addon_params";i:0;s:25:"show_menus_simultaneously";i:0;s:8:"is_store";i:0;s:23:"default_menu_item_image";s:0:"";s:34:"add_customer_receipt_to_ordersheet";i:0;s:34:"add_new_customer_msg_to_ordersheet";i:0;s:25:"is_nonstandard_ordersheet";i:0;s:31:"permit_customer_order_deletions";i:0;s:16:"hide_price_names";i:0;s:29:"show_location_on_print_ticket";i:0;s:20:"custom_rightbar_info";s:0:"";s:30:"show_homepage_on_ordering_page";i:0;s:21:"show_price_names_only";i:0;s:21:"sms_send_by_secondary";i:0;s:26:"hidden_registration_fields";s:0:"";s:20:"allow_guest_checkout";i:1;s:10:"force_bill";i:0;s:20:"location_list_format";s:0:"";s:20:"allow_client_scripts";i:0;s:15:"has_mobile_site";i:0;s:17:"last_suspended_on";s:19:"0000-00-00 00:00:00";s:8:"bill_day";i:23;s:10:"force_efax";i:0;s:14:"mobile_tablets";i:0;s:14:"force_metrofax";i:0;s:12:"social_links";s:0:"";s:9:"home_link";s:0:"";s:14:"copyright_name";s:0:"";s:12:"pricing_plan";i:0;s:21:"google_analytics_code";s:15:"UA-113767668-49";s:31:"google_analytics_linker_domains";s:0:"";s:26:"google_analytics_four_code";N;s:15:"paypal_api_data";s:0:"";s:16:"meta_description";s:122:"Order online from Bao Asian Fusion & Sushi Bar in Louisville, CO for chinese, thai, asian food, sushi delivery and takeout";s:13:"meta_keywords";s:716:"bao louisville, bap asian fusion & sushi, bao asian fusion, bao asian fusion louisville, bao asian fusion menu, louisville chinese delivery, louisville chinese food, louisville chinese restaurants, chinese delivery, louisville sushi restaurants, louisville asian fusion restaurants, louisville asian restaurants, louisville thai restaurants, louisville sushi restaurants, louisville japanese restaurants, louisville sushi delivery, louisville sushi takeout, louisville sushi, best sushi in louisville, louisville japanese food, louisville asian food, chinese restaurants near me, best chinese restaurants in louisville, best asian food in louisville, asian restaurants in louisiville, sushi restaurants in louisville";s:19:"getresponse_api_key";s:0:"";s:25:"getresponse_campaign_name";s:0:"";s:23:"getresponse_campaign_id";s:0:"";s:13:"email_service";s:3:"SES";s:14:"phone_priority";s:30:"["TWILIO","BANDWIDTH","PLIVO"]";s:12:"sms_priority";s:30:"["TWILIO","BANDWIDTH","PLIVO"]";s:11:"fax_service";s:6:"PHAXIO";s:18:"order_sms_priority";s:38:"["TWILIO","PLIVO","NEXMO","BANDWIDTH"]";s:19:"order_sms_hide_link";i:0;s:27:"order_sms_show_account_name";i:0;s:12:"fax_priority";s:29:"["CONCORD","PHAXIO","TWILIO"]";s:13:"admin_version";i:0;s:20:"group_orders_enabled";i:0;s:19:"auto_upsell_enabled";i:0;s:25:"hide_special_instructions";i:0;s:29:"special_instructions_required";i:0;s:28:"special_instructions_details";s:0:"";s:17:"homepage_override";s:0:"";s:13:"site_redirect";s:0:"";s:20:"admin_id_menu_access";i:0;s:6:"use_km";i:0;s:21:"default_ordering_page";i:0;s:14:"cancelled_date";s:19:"0000-00-00 00:00:00";s:17:"validate_callback";i:1;s:17:"skip_time_warning";i:0;s:7:"api_key";s:0:"";s:17:"facebook_pixel_id";s:0:"";s:21:"constant_contact_code";s:0:"";s:24:"constant_contact_form_id";s:0:"";s:38:"yelp_reservations_calendar_widget_code";s:0:"";s:21:"default_restaurant_id";i:7200;s:12:"allow_delete";i:0;s:31:"sms_order_notifications_enabled";i:0;s:36:"sms_order_notifications_for_delivery";i:0;s:34:"sms_order_notifications_for_dinein";i:0;s:34:"sms_order_notifications_for_pickup";i:0;s:31:"sms_order_notifications_minutes";i:0;s:25:"inventory_manager_enabled";i:0;s:18:"how_heard_about_us";N;s:26:"account_status_modified_at";N;s:35:"hide_restaurant_closed_checkout_msg";i:0;s:12:"use_v4_theme";N;s:32:"show_created_at_on_order_monitor";N;s:23:"show_cross_street_field";i:0;s:18:"announcements_html";N;s:21:"announcements_enabled";i:0;s:26:"announcements_expired_date";N;s:25:"display_zero_dollar_items";i:0;s:20:"new_receipt_disabled";i:0;s:23:"receipt_signature_shown";i:0;s:23:"receipt_extra_tip_shown";i:0;s:19:"receipt_email_shown";i:0;s:15:"is_receipt_bold";i:0;s:17:"receipt_font_size";i:100;s:19:"announcements_place";s:6:"header";s:9:"logo_size";s:10:"horizontal";s:23:"payment_options_enabled";i:0;s:16:"open_graph_image";N;s:25:"pos_notifications_enabled";i:0;s:35:"itsacheckmate_notifications_enabled";i:0;s:16:"menu_api_webhook";N;s:12:"menu_updated";i:0;s:36:"payment_aggregator_messaging_enabled";i:0;s:17:"sales_tax_enabled";i:0;s:8:"tax_code";N;s:22:"shipday_enabled_status";i:0;s:35:"print_orders_without_prices_enabled";i:0;s:29:"shipday_auto_dispatch_enabled";i:0;s:28:"deliver_by_ourselves_enabled";i:0;s:36:"third_party_optimal_delivery_enabled";i:0;s:35:"third_party_services_status_enabled";i:0;s:18:"payment_aggregator";s:15:"CHINESE TAKEOUT";s:35:"daily_summary_detailed_fees_enabled";i:0;s:32:"springroll_announcements_enabled";i:0;s:31:"springroll_announcements_copied";i:0;s:29:"springroll_announcements_html";N;s:37:"springroll_announcements_expired_date";N;s:30:"springroll_announcements_place";s:6:"header";s:20:"adjustments_disabled";i:0;s:16:"use_new_homepage";i:0;}s:8:"\x00*\x00dates";a:0:{}s:13:"\x00*\x00dateFormat";N;s:9:"\x00*\x00events";a:0:{}s:14:"\x00*\x00observables";a:0:{}s:12:"\x00*\x00relations";a:0:{}s:10:"\x00*\x00touches";a:0:{}s:10:"\x00*\x00visible";a:0:{}s:11:"\x00*\x00fillable";a:0:{}s:10:"\x00*\x00guarded";a:1:{i:0;s:1:"*";}s:17:"\x00*\x00_uploadAccount";N;} """
86400
}
/**
* Returns the cached object, if it {@link BaseClass::SHOULD_BE_CACHED} and valid, given the $id.
* @param $id
* @return false|static
*/
protected function cacheGet($id) {
if (static::SHOULD_BE_CACHED && $id > 0 && $cache = Cache::GetObject($this->getCacheKey($id))) {
return $cache;
}
return false;
}
/**
* Caches the current object, if {@link BaseClass::SHOULD_BE_CACHED}.
*/
protected function cacheSet() {
if (static::SHOULD_BE_CACHED && $this->id > 0) {
Cache::SetObject($this->getCacheKey(), $this, static::CACHE_EXPIRATION);
}
}
/**
* Removes the current object from cache, if {@link BaseClass::SHOULD_BE_CACHED}.
*/
public function cacheDelete() {
if (static::SHOULD_BE_CACHED && $this->id > 0) {
Cache::Delete($this->getCacheKey());
}
}
/**
* Removes all objects from cache, if {@link BaseClass::SHOULD_BE_CACHED}.
*/
public static function cacheDeleteAll($chunkSize = self::CACHE_DELETE_CHUNK_SIZE) {
if (static::SHOULD_BE_CACHED) {
static::chunk($chunkSize, function ($chunk) {
foreach ($chunk as $row) {
$row->cacheDelete();
"bc_account_20936"
Account {}
86400
* @param int|int[] $id
* @param array $columns
* @return static|Collection|static[]|null
* @todo why isn't this protected?
* @fixme side-effect of this workaround: the cache is silently skipped when running query-modifiers like ResellerUser::withoutGlobalScope('main_resellers')->find(123)
*/
public function findNew($id, $columns = ['*']) {
if (is_array($id)) {
return $this->directFind($id, $columns);
}
if ($cached = $this->cacheGet($id)) {
return $cached;
}
/** @var static $result */
$result = $this->directFind($id, $columns);
if ($result && $columns == ['*']) {
$result->cacheSet();
}
return $result;
}
/**
* Finds one or more entries in the database. In case of single-finds, checks the cache layer first.
* @see BaseClass::SHOULD_BE_CACHED
* @see Cache
* @param int|int[] $id
* @param array $columns
* @return Collection|static|static[]|null
*/
public static function find($id, $columns = ['*']) {
return (new static)->findNew($id, $columns);
}
//FIXME: we're missing cached versions for findOrFail and findOrNew, at the very least
/** @deprecated use {@link save()} instead */
/** @var static $result */
$result = $this->directFind($id, $columns);
if ($result && $columns == ['*']) {
$result->cacheSet();
}
return $result;
}
/**
* Finds one or more entries in the database. In case of single-finds, checks the cache layer first.
* @see BaseClass::SHOULD_BE_CACHED
* @see Cache
* @param int|int[] $id
* @param array $columns
* @return Collection|static|static[]|null
*/
public static function find($id, $columns = ['*']) {
return (new static)->findNew($id, $columns);
}
//FIXME: we're missing cached versions for findOrFail and findOrNew, at the very least
/** @deprecated use {@link save()} instead */
public function store() {
return $this->save();
}
/**
* Overrides the original save to return the generated ID.
* After saving, caching ({@link SHOULD_BE_CACHED}) and logging ({@link willLogChanges()}/{@link loggingChanges()})
* are done, if enabled.
* @param array $options The only option available is "touch" (which is true by default); setting it to false will
* disable "touching" parent relationships (aka belongsTo/belongsToMany) listed in
* {@link $touches}, which updates their timestamps upon a successful save.
* See https://laravel.com/docs/5.4/eloquent-relationships#touching-parent-timestamps
* @return bool|int Returns the ID in case of a successful operation, or false instead.
*/
public function save(array $options = []) {
20936
array:1 [ 0 => "*" ]
* Stores which classes had their logging behavior overwritten during runtime.
* @var array
* @see willLogChanges()
*/
private static $overwrittenLogChanges = [];
/**
* @var array Indicates the fields which should be placed in the restaurant's timezone when casting to JSON
* @see addDateAttributesToArray()
* @see https://github.com/ehungry/EHungry/wiki/Data-standards#timezone-less-restaurant-times
*/
protected static $restaurantDates = [];
/**
* @param int|array|ParameterHandler $idOrAttr An ID, so the entry is loaded from the database, or a list of attributes to be pre-filled into a new entry.
*/
public function __construct($idOrAttr = null) {
if (is_numeric($idOrAttr)) {
//legacy behavior
if ($entry = static::find($idOrAttr)) {
//TODO: find a way to have default attributes respected in the same way Eloquent does - probably a mix of array_merge() and array_filter() (so we clear empty values from the found entry), or maybe we'll need a custom merger so the final attribute array doesn't miss any field
$this->setRawAttributes($entry->attributes, true);
$this->exists = true;
}
$this->setAttribute('id', $idOrAttr);
parent::__construct();
} elseif (is_array($idOrAttr) || $idOrAttr instanceof ParameterHandler) {
parent::__construct($idOrAttr); //default Eloquent behavior + our custom fill()
} else {
$this->setAttribute('id', -1); //FIXME: legacy behavior as well... can we ditch this someday please????
parent::__construct();
}
}
/**
* We've overwritten the original query builder to include extra methods :)
* @param \Illuminate\Database\Query\Builder $query
* @return Builder|EloquentModel|eHungry\Illuminate\Database\Eloquent\Builder
*/
public function newEloquentBuilder($query) {
20936
return new Account($row["id"]);
}
}
return null;
}
public static function getByAnyIdentifier($aid = "") {
$aObj = Cache::GetObject('account_identifier_'.mb_strtolower($aid));
if ($aObj) {
return $aObj;
}
$db_conn = DB::conn();
//since collation on column(s) is _ci (case insenstive) we don't need to do a LOWER() on the values or column
$sql = "SELECT id FROM ".Account::getTableName()." WHERE ? IN (url_tag, marketing_url_tag, id_string)";
$db_conn->bindParameter($sql, 1, $aid, "string");
$result = $db_conn->query($sql);
if ($result && $result->rowCount() > 0) {
if ($row = $result->fetch()) {
$a = new Account($row["id"]);
Cache::SetObject('account_identifier_'.mb_strtolower($aid), $a);
return $a;
}
}
return null;
}
public static function getByApiKey($key) {
if (strlen($key) < API_KEY_LENGTH) {
return null;
}
$db_conn = DB::conn();
$sql = "SELECT id FROM ".Account::getTableName()." WHERE api_key = ?";
$db_conn->bindParameter($sql, 1, $key, "string");
$result = $db_conn->query($sql);
if ($result && $result->rowCount() === 1) {
if ($row = $result->fetch()) {
return new Account($row["id"]);
}
}
20936
* It removes "data:" prefixes and corrects "+" as space; encodes that back to binary; and finds whether it's JPG or PNG.
* @param string $img A base64 encoded image file
* @return array [0 => base64, 1 => ext]
*/
function base64_pic($img) {
$img = str_replace('data:image/png;base64,', '', $img, $isPng);
$img = str_replace('data:image/jpeg;base64,', '', $img, $isJpg);
$img = str_replace(' ', '+', $img);
return [base64_decode($img), $isPng? 'png' : 'jpg'];
}
//TODO: maybe move those getAccount methods into the Account class?
function getAccountForRequest(): ?Account {
$customDomain = CustomDomain::getForDomain(HN_SECURE);
if ($customDomain) {
return $customDomain->account;
} else {
$id = $_REQUEST['account_id_string'] ?? $_REQUEST['aid'] ?? null;
return $id? Account::getByAnyIdentifier($id) : null;
}
}
/**
* Finds the account ID stored in the session, giving preference to the Customer pages account.
* @return int|null
*/
function getAccountIdFromSession(): ?int {
return $_SESSION['customer_account_id'] ??
$_SESSION['manager_account_id'] ??
$_SESSION['account_id'] ??
null;
}
function getAccountFromSession(): ?Account {
if ($id = getAccountIdFromSession()) {
return new Account($id);
}
return null;
}
"baoasianfusionlouisville"
if (!$controller && isAjax()) {
$controller = 'ajax';
}
//go through the rest of the controllers
if (!$controller) {
foreach ($controllers as $k => $v) {
if (preg_match("/^\/$k(\/|\?|#|$)/", $_SERVER['REQUEST_URI'])) {
$controller = $v;
break;
}
}
}
//must be cms or customer
if (!$controller && (!isset($customDomain) || !$customDomain) && (stristr($_SERVER['REQUEST_URI'], "/web/") || $_SERVER['REQUEST_URI'] == '/' || substr($_SERVER['REQUEST_URI'], 0, 2) == '/?')) {
$controller = 'cms';
}
if (!$controller) {
$account = getAccountForRequest();
$websiteTemplateEnabled = $account->website_template_enabled ?? false; //unavailable on CLI scripts...
if (isset($customDomain)
&& $websiteTemplateEnabled
&& $customDomain instanceof CustomDomain
&& $customDomain->isForWebsite()) {
$controller = 'website';
} else {
$controller = 'customer';
}
}
$_REQUEST['controller'] = $controller;
if ($controller != 'customer') {
$formMap = [
'mycreditcards' => Secure,
'login' => Secure,
'mypassword' => Secure,
'billing' => Secure,
<? /** @noinspection PhpIncludeInspection - to avoid marking dynamic includes */
//TODO create a «root»/_bootstrap.php which can be used by .psysh.php, tests/bootstrap.php and Web/index.php
require(dirname(__DIR__).'/PHP/base_consts.php');
require(dirname(__DIR__).'/PHP/autoloader.php');
initializeAutoLoader();
//disabled for now since we already have our own Alerts infrastructure, and it's not worth it to append another cloud provider to the startup of every freaking request; it's also not possible to catch errors this early if we depend on database checks, but we'll leave it here in case we change our mind?
//ErrorHandlers::sentryInit(); //early catch of errors and failsafe for smaller controllers, not in Sentry
App::startTime();
ErrorHandlers::register();
// Global.php is the core setup file for the application
App::debugbarTime('Global.php');
require(dirname(__DIR__) . '/PHP/Global.php');
App::debugbarTime('Global.php');
/** @var string $controller The main controller - defined at /PHP/Global.php */
App::debugbarTime('Sentry - controller');
ErrorHandlers::sentryInit($controller); //doesn't always do much - not every controller has a Sentry project
App::debugbarTime('Sentry - controller');
App::debugbarTime("controller: $controller");
apache_note('AppController', $controller);
if (file_exists(CORE_PATH."lib/helpers/$controller.php")) {
require CORE_PATH."lib/helpers/$controller.php";
}
require CORE_PATH."controllers/$controller.php";
App::debugbarTime("controller: $controller");
"/home/deploy/EHungry-3-boyan/PHP/Global.php"
| Key | Value |
| aid | "restaurant/baoasianfusionlouisville"
|
| Key | Value |
| PHPSESSID | "4g3he9a3dv3th5cj1100qu3cb5"
|
| Key | Value |
| loc | "en_US"
|
| Key | Value |
| UNIQUE_ID | "aTXsbdWnXKbaQUsDAIVm6gAAAA8"
|
| SCRIPT_URL | "/restaurant/baoasianfusionlouisville"
|
| SCRIPT_URI | "http://www.springroll.com.3.boyan.ehungry.net/restaurant/baoasianfusionlouisville"
|
| HTTP_HOST | "www.springroll.com.3.boyan.ehungry.net"
|
| HTTP_X_REAL_IP | "216.73.216.186"
|
| HTTP_X_FORWARDED_FOR | "216.73.216.186"
|
| HTTP_X_CONFKEY | "Main_Domain:6462"
|
| HTTP_SCHEME | "https"
|
| HTTP_EHENV | "TODO"
|
| HTTP_CONNECTION | "close"
|
| HTTP_ACCEPT | "*/*"
|
| HTTP_USER_AGENT | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
|
| HTTP_ACCEPT_ENCODING | "gzip, br, zstd, deflate"
|
| HTTP_COOKIE | "PHPSESSID=4g3he9a3dv3th5cj1100qu3cb5"
|
| PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
|
| SERVER_SIGNATURE | "" |
| SERVER_SOFTWARE | "Apache/2.4.62 () mod_wsgi/4.6.5 Python/3.7 PHP/7.2.34"
|
| SERVER_NAME | "www.springroll.com.3.boyan.ehungry.net"
|
| SERVER_ADDR | "127.0.0.1"
|
| SERVER_PORT | "80"
|
| REMOTE_ADDR | "127.0.0.1"
|
| DOCUMENT_ROOT | "/home/deploy/EHungry-3-boyan/Web"
|
| REQUEST_SCHEME | "http"
|
| CONTEXT_PREFIX | "" |
| CONTEXT_DOCUMENT_ROOT | "/home/deploy/EHungry-3-boyan/Web"
|
| SERVER_ADMIN | "root@localhost"
|
| SCRIPT_FILENAME | "/home/deploy/EHungry-3-boyan/Web/index.php"
|
| REMOTE_PORT | "44140"
|
| GATEWAY_INTERFACE | "CGI/1.1"
|
| SERVER_PROTOCOL | "HTTP/1.0"
|
| REQUEST_METHOD | "GET"
|
| QUERY_STRING | "aid=restaurant/baoasianfusionlouisville"
|
| REQUEST_URI | "/restaurant/baoasianfusionlouisville"
|
| SCRIPT_NAME | "/restaurant/baoasianfusionlouisville"
|
| PHP_SELF | "/restaurant/baoasianfusionlouisville"
|
| REQUEST_TIME_FLOAT | 1765141613.716
|
| REQUEST_TIME | 1765141613
|