/home
/deploy
/EHungry-3-boyan
/Web
/classes
/Cache.class.php
}
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;
}
/**
Arguments
"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."
/home
/deploy
/EHungry-3-boyan
/Web
/classes
/Cache.class.php
}
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;
}
/**
Arguments
"account_identifier_kyotosushiiiunion"
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:"(908) 688-6638";s:3:"zip";s:5:"07083";s:5:"state";s:2:"NJ";s:4:"city";s:5:"Union";s:7:"street2";s:0:"";s:7:"street1";s:15:"347 Chestnut St";s:2:"id";i:26414;s:9:"id_string";s:17:"kyotosushiiiunion";s:7:"url_tag";s:17:"kyotosushiiiunion";s:17:"marketing_url_tag";s:17:"kyotosushiiiunion";s:12:"display_name";s:26:"Kyoto Sushi II - Union, NJ";s:5:"email";s:26:"info@chinesemenuonline.com";s:8:"password";s:60:"$2y$10$SGFGaLCu/Izs85qdqXxGeOV8crw85DsBouvy0vuKHoYklKn1rfLJa";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:22:"Kyoto Sushi II - Union";s:14:"app_page_title";s:75:"Kyoto Sushi II | Order Online | Union, NJ | Japanese Cuisine, Sushi Takeout";s:17:"always_show_title";i:1;s:10:"custom_css";s:0:"";s:13:"homepage_html";s:1163:"<h1><span style="font-size:24px;">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>Kyoto Sushi II Japanese Restaurant offers authentic and delicious tasting Japanese cuisine in Union, NJ. Kyoto Sushi II's convenient location and affordable prices make our restaurant a natural choice for dine-in or take-out meals in the Union 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;">No Registration Required. Order Online! <span style="color:#FF0000;"><span style="font-size:20px;">Pickup Only!</span></span></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-07-11 02:33:16";s:11:"modified_at";s:19:"2018-10-21 17:32:23";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:6:"SAMPLE";s:9:"last_name";s:10:"- DELIVERY";s:9:"job_title";s:0:"";s:19:"menubuddies_enabled";i:1;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: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:37:"Please 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-109276494-19";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:0:"";s:13:"meta_keywords";s:423:"kyoto sushi 2, kyoto sushi 2 union, kyoto sushi 2 menu, union japanese takeout, union japanese food, union japanese restaurants, japanese takeout, best japanese food in union, japanese restaurants in union, japanese restaurants near me, japanese food near me, union sushi takeout, union sushi, union sushi restaurants, sushi takeout, best sushi in union, sushi restaurants in union, sushi restaurants near me, sushi near me";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:9266;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:"(908) 688-6638";s:3:"zip";s:5:"07083";s:5:"state";s:2:"NJ";s:4:"city";s:5:"Union";s:7:"street2";s:0:"";s:7:"street1";s:15:"347 Chestnut St";s:2:"id";i:26414;s:9:"id_string";s:17:"kyotosushiiiunion";s:7:"url_tag";s:17:"kyotosushiiiunion";s:17:"marketing_url_tag";s:17:"kyotosushiiiunion";s:12:"display_name";s:26:"Kyoto Sushi II - Union, NJ";s:5:"email";s:26:"info@chinesemenuonline.com";s:8:"password";s:60:"$2y$10$SGFGaLCu/Izs85qdqXxGeOV8crw85DsBouvy0vuKHoYklKn1rfLJa";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:22:"Kyoto Sushi II - Union";s:14:"app_page_title";s:75:"Kyoto Sushi II | Order Online | Union, NJ | Japanese Cuisine, Sushi Takeout";s:17:"always_show_title";i:1;s:10:"custom_css";s:0:"";s:13:"homepage_html";s:1163:"<h1><span style="font-size:24px;">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>Kyoto Sushi II Japanese Restaurant offers authentic and delicious tasting Japanese cuisine in Union, NJ. Kyoto Sushi II's convenient location and affordable prices make our restaurant a natural choice for dine-in or take-out meals in the Union 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;">No Registration Required. Order Online! <span style="color:#FF0000;"><span style="font-size:20px;">Pickup Only!</span></span></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-07-11 02:33:16";s:11:"modified_at";s:19:"2018-10-21 17:32:23";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:6:"SAMPLE";s:9:"last_name";s:10:"- DELIVERY";s:9:"job_title";s:0:"";s:19:"menubuddies_enabled";i:1;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: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:37:"Please 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-109276494-19";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:0:"";s:13:"meta_keywords";s:423:"kyoto sushi 2, kyoto sushi 2 union, kyoto sushi 2 menu, union japanese takeout, union japanese food, union japanese restaurants, japanese takeout, best japanese food in union, japanese restaurants in union, japanese restaurants near me, japanese food near me, union sushi takeout, union sushi, union sushi restaurants, sushi takeout, best sushi in union, sushi restaurants in union, sushi restaurants near me, sushi near me";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:9266;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;}
"""
/home
/deploy
/EHungry-3-boyan
/Web
/classes
/Cache.class.php
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;
}
Arguments
"account_identifier_kyotosushiiiunion"
"""
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:"(908) 688-6638";s:3:"zip";s:5:"07083";s:5:"state";s:2:"NJ";s:4:"city";s:5:"Union";s:7:"street2";s:0:"";s:7:"street1";s:15:"347 Chestnut St";s:2:"id";i:26414;s:9:"id_string";s:17:"kyotosushiiiunion";s:7:"url_tag";s:17:"kyotosushiiiunion";s:17:"marketing_url_tag";s:17:"kyotosushiiiunion";s:12:"display_name";s:26:"Kyoto Sushi II - Union, NJ";s:5:"email";s:26:"info@chinesemenuonline.com";s:8:"password";s:60:"$2y$10$SGFGaLCu/Izs85qdqXxGeOV8crw85DsBouvy0vuKHoYklKn1rfLJa";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:22:"Kyoto Sushi II - Union";s:14:"app_page_title";s:75:"Kyoto Sushi II | Order Online | Union, NJ | Japanese Cuisine, Sushi Takeout";s:17:"always_show_title";i:1;s:10:"custom_css";s:0:"";s:13:"homepage_html";s:1163:"<h1><span style="font-size:24px;">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>Kyoto Sushi II Japanese Restaurant offers authentic and delicious tasting Japanese cuisine in Union, NJ. Kyoto Sushi II's convenient location and affordable prices make our restaurant a natural choice for dine-in or take-out meals in the Union 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;">No Registration Required. Order Online! <span style="color:#FF0000;"><span style="font-size:20px;">Pickup Only!</span></span></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-07-11 02:33:16";s:11:"modified_at";s:19:"2018-10-21 17:32:23";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:6:"SAMPLE";s:9:"last_name";s:10:"- DELIVERY";s:9:"job_title";s:0:"";s:19:"menubuddies_enabled";i:1;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: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:37:"Please 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-109276494-19";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:0:"";s:13:"meta_keywords";s:423:"kyoto sushi 2, kyoto sushi 2 union, kyoto sushi 2 menu, union japanese takeout, union japanese food, union japanese restaurants, japanese takeout, best japanese food in union, japanese restaurants in union, japanese restaurants near me, japanese food near me, union sushi takeout, union sushi, union sushi restaurants, sushi takeout, best sushi in union, sushi restaurants in union, sushi restaurants near me, sushi near me";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:9266;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:"(908) 688-6638";s:3:"zip";s:5:"07083";s:5:"state";s:2:"NJ";s:4:"city";s:5:"Union";s:7:"street2";s:0:"";s:7:"street1";s:15:"347 Chestnut St";s:2:"id";i:26414;s:9:"id_string";s:17:"kyotosushiiiunion";s:7:"url_tag";s:17:"kyotosushiiiunion";s:17:"marketing_url_tag";s:17:"kyotosushiiiunion";s:12:"display_name";s:26:"Kyoto Sushi II - Union, NJ";s:5:"email";s:26:"info@chinesemenuonline.com";s:8:"password";s:60:"$2y$10$SGFGaLCu/Izs85qdqXxGeOV8crw85DsBouvy0vuKHoYklKn1rfLJa";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:22:"Kyoto Sushi II - Union";s:14:"app_page_title";s:75:"Kyoto Sushi II | Order Online | Union, NJ | Japanese Cuisine, Sushi Takeout";s:17:"always_show_title";i:1;s:10:"custom_css";s:0:"";s:13:"homepage_html";s:1163:"<h1><span style="font-size:24px;">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>Kyoto Sushi II Japanese Restaurant offers authentic and delicious tasting Japanese cuisine in Union, NJ. Kyoto Sushi II's convenient location and affordable prices make our restaurant a natural choice for dine-in or take-out meals in the Union 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;">No Registration Required. Order Online! <span style="color:#FF0000;"><span style="font-size:20px;">Pickup Only!</span></span></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-07-11 02:33:16";s:11:"modified_at";s:19:"2018-10-21 17:32:23";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:6:"SAMPLE";s:9:"last_name";s:10:"- DELIVERY";s:9:"job_title";s:0:"";s:19:"menubuddies_enabled";i:1;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: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:37:"Please 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-109276494-19";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:0:"";s:13:"meta_keywords";s:423:"kyoto sushi 2, kyoto sushi 2 union, kyoto sushi 2 menu, union japanese takeout, union japanese food, union japanese restaurants, japanese takeout, best japanese food in union, japanese restaurants in union, japanese restaurants near me, japanese food near me, union sushi takeout, union sushi, union sushi restaurants, sushi takeout, best sushi in union, sushi restaurants in union, sushi restaurants near me, sushi near me";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:9266;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
/home
/deploy
/EHungry-3-boyan
/Web
/classes
/Account.class.php
}
}
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;
Arguments
"account_identifier_kyotosushiiiunion"
Account {}
/home
/deploy
/EHungry-3-boyan
/Web
/lib
/global.php
* 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;
}
Arguments
/home
/deploy
/EHungry-3-boyan
/PHP
/Global.php
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,
/home
/deploy
/EHungry-3-boyan
/Web
/index.php
<? /** @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");
Arguments
"/home/deploy/EHungry-3-boyan/PHP/Global.php"