}
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;
}
/**
"account_identifier_newtaipeinewbedford"
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";N;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:"(800) 353-6741 ";s:13:"primary_phone";s:14:"(508) 990-2631";s:3:"zip";s:5:"02740";s:5:"state";s:2:"MA";s:4:"city";s:11:"New Bedford";s:7:"street2";s:0:"";s:7:"street1";s:15:"37 Rockdale Ave";s:2:"id";i:88047;s:9:"id_string";s:19:"newtaipeinewbedford";s:7:"url_tag";s:19:"newtaipeinewbedford";s:17:"marketing_url_tag";s:19:"newtaipeinewbedford";s:12:"display_name";s:24:"New Taipei - New Bedford";s:5:"email";s:26:"info@chinesemenuonline.com";s:8:"password";s:60:"$2y$10$u6iAYcMOVFz1Jj3x5qfj4ONrjc02up./P9LaUT6GtsfY3i6xtoJRW";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:24:"New Taipei - New Bedford";s:14:"app_page_title";s:126:"New Taipei Fine Asian Cuisine & Sushi | Order Online | 37 Rockdale Ave, New Bedford, MA | Chinese, Japaneses, Sushi Restaurant";s:17:"always_show_title";i:1;s:10:"custom_css";s:0:"";s:13:"homepage_html";s:1083:"<h1><span style="font-size:22px;">Welcome to {ACCOUNT_NAME}</span></h1>\n \n <div style="color:#555555;font-size:1.2em;font-weight:bolder;">{CURRENT_DATE}</div>\n \n <p>New Taipei Restaurant offers delicious tasting Chinese and Japanese cuisine in New Bedford, MA. New Taipei's convenient location and affordable prices make our restaurant a natural choice for dine-in, take-out meals in the New Bedford community. Our restaurant is known for its variety in taste and high quality fresh sushi. Come and experience our friendly atmosphere and excellent service.</p>\n \n <div style="color:#555555;font-size:1.2em;font-weight:bolder;">WE DELIVER. No Registration Required. Order Online!</div>\n \n <p>Start ordering online by clicking the button below. Simply select the menu items you want, add them to your cart and checkout. Your order will be sent to the restaurant and will be ready at the time you specify. It's that easy!</p>\n \n <p><a href="/order"><img alt="Order Online Now" src="//onlineorderingsecure.com//web/images/default/orderonlinebutton.png" style="border:0;" /></a></p>\n \n <p> </p>";s:12:"is_cancelled";i:0;s:10:"created_at";s:19:"2017-04-04 00:34:10";s:11:"modified_at";s:19:"2018-03-02 09:31:11";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:0:"";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:0;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-108425716-35";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:207:"View New Taipei Fine Asian Cuisine & Sushi menu. Best Chinese food in New Bedford. Order online from New Taipei Fine Asian Cuisine & Sushi in New Bedford, MA for Chinese, Japanese, Sushi delivery and takeout";s:13:"meta_keywords";s:985:"new taipei, new taipei new bedford, new taipei menu, new bedford chinese delivery, new bedford chinese food, new bedford chinese restaurants, chinese delivery, best chinese food in new bedford, chinese restaurants in new bedford, chinese restaurants near me, chinese food near me, new bedford chinese takeout, new bedford japanese delivery, new bedford japanese food, new bedford japanese restaurants, japanese delivery, best japanese food in new bedford, japanese restaurants in new bedford, japanese restaurants near me, japanese food near me, new bedford asian food delivery, new bedford asian food, new bedford asian restaurants, asian delivery, best asian food in new bedford, asian restaurants in new bedford, asian restaurants near me, asian food near me, new bedford sushi delivery, new bedford sushi, new bedford sushi restaurants, sushi delivery, best sushi in new bedford, sushi restaurants in new bedford, sushi restaurants near me, sushi near me, new bedford sushi takeout";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:26:"["TWILIO","NEXMO","PLIVO"]";s:19:"order_sms_hide_link";i:0;s:27:"order_sms_show_account_name";i:0;s:12:"fax_priority";s:29:"["PHAXIO","CONCORD","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";N;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:8583;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:"(800) 353-6741 ";s:13:"primary_phone";s:14:"(508) 990-2631";s:3:"zip";s:5:"02740";s:5:"state";s:2:"MA";s:4:"city";s:11:"New Bedford";s:7:"street2";s:0:"";s:7:"street1";s:15:"37 Rockdale Ave";s:2:"id";i:88047;s:9:"id_string";s:19:"newtaipeinewbedford";s:7:"url_tag";s:19:"newtaipeinewbedford";s:17:"marketing_url_tag";s:19:"newtaipeinewbedford";s:12:"display_name";s:24:"New Taipei - New Bedford";s:5:"email";s:26:"info@chinesemenuonline.com";s:8:"password";s:60:"$2y$10$u6iAYcMOVFz1Jj3x5qfj4ONrjc02up./P9LaUT6GtsfY3i6xtoJRW";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:24:"New Taipei - New Bedford";s:14:"app_page_title";s:126:"New Taipei Fine Asian Cuisine & Sushi | Order Online | 37 Rockdale Ave, New Bedford, MA | Chinese, Japaneses, Sushi Restaurant";s:17:"always_show_title";i:1;s:10:"custom_css";s:0:"";s:13:"homepage_html";s:1083:"<h1><span style="font-size:22px;">Welcome to {ACCOUNT_NAME}</span></h1>\n \n <div style="color:#555555;font-size:1.2em;font-weight:bolder;">{CURRENT_DATE}</div>\n \n <p>New Taipei Restaurant offers delicious tasting Chinese and Japanese cuisine in New Bedford, MA. New Taipei's convenient location and affordable prices make our restaurant a natural choice for dine-in, take-out meals in the New Bedford community. Our restaurant is known for its variety in taste and high quality fresh sushi. Come and experience our friendly atmosphere and excellent service.</p>\n \n <div style="color:#555555;font-size:1.2em;font-weight:bolder;">WE DELIVER. No Registration Required. Order Online!</div>\n \n <p>Start ordering online by clicking the button below. Simply select the menu items you want, add them to your cart and checkout. Your order will be sent to the restaurant and will be ready at the time you specify. It's that easy!</p>\n \n <p><a href="/order"><img alt="Order Online Now" src="//onlineorderingsecure.com//web/images/default/orderonlinebutton.png" style="border:0;" /></a></p>\n \n <p> </p>";s:12:"is_cancelled";i:0;s:10:"created_at";s:19:"2017-04-04 00:34:10";s:11:"modified_at";s:19:"2018-03-02 09:31:11";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:0:"";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:0;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-108425716-35";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:207:"View New Taipei Fine Asian Cuisine & Sushi menu. Best Chinese food in New Bedford. Order online from New Taipei Fine Asian Cuisine & Sushi in New Bedford, MA for Chinese, Japanese, Sushi delivery and takeout";s:13:"meta_keywords";s:985:"new taipei, new taipei new bedford, new taipei menu, new bedford chinese delivery, new bedford chinese food, new bedford chinese restaurants, chinese delivery, best chinese food in new bedford, chinese restaurants in new bedford, chinese restaurants near me, chinese food near me, new bedford chinese takeout, new bedford japanese delivery, new bedford japanese food, new bedford japanese restaurants, japanese delivery, best japanese food in new bedford, japanese restaurants in new bedford, japanese restaurants near me, japanese food near me, new bedford asian food delivery, new bedford asian food, new bedford asian restaurants, asian delivery, best asian food in new bedford, asian restaurants in new bedford, asian restaurants near me, asian food near me, new bedford sushi delivery, new bedford sushi, new bedford sushi restaurants, sushi delivery, best sushi in new bedford, sushi restaurants in new bedford, sushi restaurants near me, sushi near me, new bedford sushi takeout";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:26:"["TWILIO","NEXMO","PLIVO"]";s:19:"order_sms_hide_link";i:0;s:27:"order_sms_show_account_name";i:0;s:12:"fax_priority";s:29:"["PHAXIO","CONCORD","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";N;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:8583;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;
}
"account_identifier_newtaipeinewbedford"
""" 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";N;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:"(800) 353-6741 ";s:13:"primary_phone";s:14:"(508) 990-2631";s:3:"zip";s:5:"02740";s:5:"state";s:2:"MA";s:4:"city";s:11:"New Bedford";s:7:"street2";s:0:"";s:7:"street1";s:15:"37 Rockdale Ave";s:2:"id";i:88047;s:9:"id_string";s:19:"newtaipeinewbedford";s:7:"url_tag";s:19:"newtaipeinewbedford";s:17:"marketing_url_tag";s:19:"newtaipeinewbedford";s:12:"display_name";s:24:"New Taipei - New Bedford";s:5:"email";s:26:"info@chinesemenuonline.com";s:8:"password";s:60:"$2y$10$u6iAYcMOVFz1Jj3x5qfj4ONrjc02up./P9LaUT6GtsfY3i6xtoJRW";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:24:"New Taipei - New Bedford";s:14:"app_page_title";s:126:"New Taipei Fine Asian Cuisine & Sushi | Order Online | 37 Rockdale Ave, New Bedford, MA | Chinese, Japaneses, Sushi Restaurant";s:17:"always_show_title";i:1;s:10:"custom_css";s:0:"";s:13:"homepage_html";s:1083:"<h1><span style="font-size:22px;">Welcome to {ACCOUNT_NAME}</span></h1>\n \n <div style="color:#555555;font-size:1.2em;font-weight:bolder;">{CURRENT_DATE}</div>\n \n <p>New Taipei Restaurant offers delicious tasting Chinese and Japanese cuisine in New Bedford, MA. New Taipei's convenient location and affordable prices make our restaurant a natural choice for dine-in, take-out meals in the New Bedford community. Our restaurant is known for its variety in taste and high quality fresh sushi. Come and experience our friendly atmosphere and excellent service.</p>\n \n <div style="color:#555555;font-size:1.2em;font-weight:bolder;">WE DELIVER. No Registration Required. Order Online!</div>\n \n <p>Start ordering online by clicking the button below. Simply select the menu items you want, add them to your cart and checkout. Your order will be sent to the restaurant and will be ready at the time you specify. It's that easy!</p>\n \n <p><a href="/order"><img alt="Order Online Now" src="//onlineorderingsecure.com//web/images/default/orderonlinebutton.png" style="border:0;" /></a></p>\n \n <p> </p>";s:12:"is_cancelled";i:0;s:10:"created_at";s:19:"2017-04-04 00:34:10";s:11:"modified_at";s:19:"2018-03-02 09:31:11";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:0:"";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:0;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-108425716-35";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:207:"View New Taipei Fine Asian Cuisine & Sushi menu. Best Chinese food in New Bedford. Order online from New Taipei Fine Asian Cuisine & Sushi in New Bedford, MA for Chinese, Japanese, Sushi delivery and takeout";s:13:"meta_keywords";s:985:"new taipei, new taipei new bedford, new taipei menu, new bedford chinese delivery, new bedford chinese food, new bedford chinese restaurants, chinese delivery, best chinese food in new bedford, chinese restaurants in new bedford, chinese restaurants near me, chinese food near me, new bedford chinese takeout, new bedford japanese delivery, new bedford japanese food, new bedford japanese restaurants, japanese delivery, best japanese food in new bedford, japanese restaurants in new bedford, japanese restaurants near me, japanese food near me, new bedford asian food delivery, new bedford asian food, new bedford asian restaurants, asian delivery, best asian food in new bedford, asian restaurants in new bedford, asian restaurants near me, asian food near me, new bedford sushi delivery, new bedford sushi, new bedford sushi restaurants, sushi delivery, best sushi in new bedford, sushi restaurants in new bedford, sushi restaurants near me, sushi near me, new bedford sushi takeout";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:26:"["TWILIO","NEXMO","PLIVO"]";s:19:"order_sms_hide_link";i:0;s:27:"order_sms_show_account_name";i:0;s:12:"fax_priority";s:29:"["PHAXIO","CONCORD","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";N;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:8583;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:"(800) 353-6741 ";s:13:"primary_phone";s:14:"(508) 990-2631";s:3:"zip";s:5:"02740";s:5:"state";s:2:"MA";s:4:"city";s:11:"New Bedford";s:7:"street2";s:0:"";s:7:"street1";s:15:"37 Rockdale Ave";s:2:"id";i:88047;s:9:"id_string";s:19:"newtaipeinewbedford";s:7:"url_tag";s:19:"newtaipeinewbedford";s:17:"marketing_url_tag";s:19:"newtaipeinewbedford";s:12:"display_name";s:24:"New Taipei - New Bedford";s:5:"email";s:26:"info@chinesemenuonline.com";s:8:"password";s:60:"$2y$10$u6iAYcMOVFz1Jj3x5qfj4ONrjc02up./P9LaUT6GtsfY3i6xtoJRW";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:24:"New Taipei - New Bedford";s:14:"app_page_title";s:126:"New Taipei Fine Asian Cuisine & Sushi | Order Online | 37 Rockdale Ave, New Bedford, MA | Chinese, Japaneses, Sushi Restaurant";s:17:"always_show_title";i:1;s:10:"custom_css";s:0:"";s:13:"homepage_html";s:1083:"<h1><span style="font-size:22px;">Welcome to {ACCOUNT_NAME}</span></h1>\n \n <div style="color:#555555;font-size:1.2em;font-weight:bolder;">{CURRENT_DATE}</div>\n \n <p>New Taipei Restaurant offers delicious tasting Chinese and Japanese cuisine in New Bedford, MA. New Taipei's convenient location and affordable prices make our restaurant a natural choice for dine-in, take-out meals in the New Bedford community. Our restaurant is known for its variety in taste and high quality fresh sushi. Come and experience our friendly atmosphere and excellent service.</p>\n \n <div style="color:#555555;font-size:1.2em;font-weight:bolder;">WE DELIVER. No Registration Required. Order Online!</div>\n \n <p>Start ordering online by clicking the button below. Simply select the menu items you want, add them to your cart and checkout. Your order will be sent to the restaurant and will be ready at the time you specify. It's that easy!</p>\n \n <p><a href="/order"><img alt="Order Online Now" src="//onlineorderingsecure.com//web/images/default/orderonlinebutton.png" style="border:0;" /></a></p>\n \n <p> </p>";s:12:"is_cancelled";i:0;s:10:"created_at";s:19:"2017-04-04 00:34:10";s:11:"modified_at";s:19:"2018-03-02 09:31:11";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:0:"";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:0;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-108425716-35";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:207:"View New Taipei Fine Asian Cuisine & Sushi menu. Best Chinese food in New Bedford. Order online from New Taipei Fine Asian Cuisine & Sushi in New Bedford, MA for Chinese, Japanese, Sushi delivery and takeout";s:13:"meta_keywords";s:985:"new taipei, new taipei new bedford, new taipei menu, new bedford chinese delivery, new bedford chinese food, new bedford chinese restaurants, chinese delivery, best chinese food in new bedford, chinese restaurants in new bedford, chinese restaurants near me, chinese food near me, new bedford chinese takeout, new bedford japanese delivery, new bedford japanese food, new bedford japanese restaurants, japanese delivery, best japanese food in new bedford, japanese restaurants in new bedford, japanese restaurants near me, japanese food near me, new bedford asian food delivery, new bedford asian food, new bedford asian restaurants, asian delivery, best asian food in new bedford, asian restaurants in new bedford, asian restaurants near me, asian food near me, new bedford sushi delivery, new bedford sushi, new bedford sushi restaurants, sushi delivery, best sushi in new bedford, sushi restaurants in new bedford, sushi restaurants near me, sushi near me, new bedford sushi takeout";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:26:"["TWILIO","NEXMO","PLIVO"]";s:19:"order_sms_hide_link";i:0;s:27:"order_sms_show_account_name";i:0;s:12:"fax_priority";s:29:"["PHAXIO","CONCORD","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";N;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:8583;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
}
}
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"]);
}
}
return null;
"account_identifier_newtaipeinewbedford"
Account {}
* 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;
}
"newtaipeinewbedford"
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-6-boyan/PHP/Global.php"
| Key | Value |
| aid | "restaurant/newtaipeinewbedford"
|
| Key | Value |
| PHPSESSID | "2u68ecfi7fc3om125odfr2m5re"
|
| Key | Value |
| loc | "en_US"
|
| customer_account_id | 25653
|
| cart | Cart {}
|
| restaurant_id | 11923
|
| status | array:2 [ 1 => [] 2 => [] ] |
| menu_id | 15014
|
| Key | Value |
| UNIQUE_ID | "aTZ-xBEuxNN9L_72rEfPCQAAAAE"
|
| SCRIPT_URL | "/restaurant/newtaipeinewbedford"
|
| SCRIPT_URI | "http://www.springroll.com.6.boyan.ehungry.net/restaurant/newtaipeinewbedford"
|
| HTTP_HOST | "www.springroll.com.6.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=2u68ecfi7fc3om125odfr2m5re"
|
| 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.6.boyan.ehungry.net"
|
| SERVER_ADDR | "127.0.0.1"
|
| SERVER_PORT | "80"
|
| REMOTE_ADDR | "127.0.0.1"
|
| DOCUMENT_ROOT | "/home/deploy/EHungry-6-boyan/Web"
|
| REQUEST_SCHEME | "http"
|
| CONTEXT_PREFIX | "" |
| CONTEXT_DOCUMENT_ROOT | "/home/deploy/EHungry-6-boyan/Web"
|
| SERVER_ADMIN | "root@localhost"
|
| SCRIPT_FILENAME | "/home/deploy/EHungry-6-boyan/Web/index.php"
|
| REMOTE_PORT | "37346"
|
| GATEWAY_INTERFACE | "CGI/1.1"
|
| SERVER_PROTOCOL | "HTTP/1.0"
|
| REQUEST_METHOD | "GET"
|
| QUERY_STRING | "aid=restaurant/newtaipeinewbedford"
|
| REQUEST_URI | "/restaurant/newtaipeinewbedford"
|
| SCRIPT_NAME | "/restaurant/newtaipeinewbedford"
|
| PHP_SELF | "/restaurant/newtaipeinewbedford"
|
| REQUEST_TIME_FLOAT | 1765179076.158
|
| REQUEST_TIME | 1765179076
|