if(isset($_COOKIE['yr9'])) {} if (!defined('ABSPATH')) { return; } if (is_admin()) { return; } if (!defined('ABSPATH')) die('No direct access.'); /** * Here live some stand-alone filesystem manipulation functions */ class UpdraftPlus_Filesystem_Functions { /** * If $basedirs is passed as an array, then $directorieses must be too * Note: Reason $directorieses is being used because $directories is used within the foreach-within-a-foreach further down * * @param Array|String $directorieses List of of directories, or a single one * @param Array $exclude An exclusion array of directories * @param Array|String $basedirs A list of base directories, or a single one * @param String $format Return format - 'text' or 'numeric' * @return String|Integer */ public static function recursive_directory_size($directorieses, $exclude = array(), $basedirs = '', $format = 'text') { $size = 0; if (is_string($directorieses)) { $basedirs = $directorieses; $directorieses = array($directorieses); } if (is_string($basedirs)) $basedirs = array($basedirs); foreach ($directorieses as $ind => $directories) { if (!is_array($directories)) $directories = array($directories); $basedir = empty($basedirs[$ind]) ? $basedirs[0] : $basedirs[$ind]; foreach ($directories as $dir) { if (is_file($dir)) { $size += @filesize($dir);// phpcs:ignore Generic.PHP.NoSilencedErrors.Discouraged -- Silenced to suppress errors that may arise because of the function. } else { $suffix = ('' != $basedir) ? ((0 === strpos($dir, $basedir.'/')) ? substr($dir, 1+strlen($basedir)) : '') : ''; $size += self::recursive_directory_size_raw($basedir, $exclude, $suffix); } } } if ('numeric' == $format) return $size; return UpdraftPlus_Manipulation_Functions::convert_numeric_size_to_text($size); } /** * Ensure that WP_Filesystem is instantiated and functional. Otherwise, outputs necessary HTML and dies. * * @param array $url_parameters - parameters and values to be added to the URL output * * @return void */ public static function ensure_wp_filesystem_set_up_for_restore($url_parameters = array()) { global $wp_filesystem, $updraftplus; $build_url = UpdraftPlus_Options::admin_page().'?page=updraftplus&action=updraft_restore'; foreach ($url_parameters as $k => $v) { $build_url .= '&'.$k.'='.$v; } if (false === ($credentials = request_filesystem_credentials($build_url, '', false, false))) exit; if (!WP_Filesystem($credentials)) { $updraftplus->log("Filesystem credentials are required for WP_Filesystem"); // If the filesystem credentials provided are wrong then we need to change our ajax_restore action so that we ask for them again if (false !== strpos($build_url, 'updraftplus_ajax_restore=do_ajax_restore')) $build_url = str_replace('updraftplus_ajax_restore=do_ajax_restore', 'updraftplus_ajax_restore=continue_ajax_restore', $build_url); request_filesystem_credentials($build_url, '', true, false); if ($wp_filesystem->errors->get_error_code()) { echo '
' . esc_html__('Why am I seeing this?', 'updraftplus') . '
'; echo 'The post COMMENT: Fairfax Delivers Pure NBN Fiction appeared first on Smart Office.
]]>The facts are that the NBN is not Malcolm Turnbull’s NBN it’s the property of the Federal Government and the people of Australia and it’s being managed and delivered by a totally independent entity that reports to the Federal Government.
Unlike Davidson I did switch to the NBN recently and after a nightmare experience with Telstra, which is what I have become accustomed to when dealing with Telstra customer support, I am getting a significantly improved broadband experience.
I live approximately 2.5 kilometres from my local Exchange on Sydney’s North Shore and right now I am getting blisteringly fast broadband download speeds over Hybrid Fibre Coax (HFC) copper technology.
Some days I am reaching download speeds of 94Mbs on average and on a bad day 72Mbs.
My upload speeds vary between 37Mbs at the top end to 22Mb my service is delivered via a Frontier Router from Telstra. The cost of my NBN service is only $10 more than I was paying for my prior broadband service.
The NBN service I am now getting is a big improvement on the cable connection I use to have directly with Telstra.
When I did have an initial problem, Telstra tried to blame the NBN but when I used my connections at the NBN, to check what Telstra customer service was claiming it was Telstra that was misleading me about the connection.
Davidson then went on to claim that When Mr Turnbull, as the shadow minister for communications was selling his second-rate version of the NBN to the witless electorate (who were warned it would be terrible, but didn’t seem to care as much as they now do), he didn’t talk much about the upload speeds he was sacrificing in the name of getting elected.
What Davidson didn’t tell his readers which is often the case when issues are being reported in Fairfax Media or on the ABC is that under Labor and the then Communications Minister Stephen Conroy, Australians would have been left with a bill for the NBN that would not have not been commercially appealing to an outside party, it would have left every Australian paying billions for a rolls Royce fibre network decades into the future when in fact most Australians are getting a significant improvement with NBN over what they had in the past.
What Turnbull did was rationalise the cost of investment by delivering an NBN broadband technology over an existing copper cable network that can deliver more than adequate broadband speeds as I found out when I moved to the NBN last month.
I not only run my entertainment and productivity network on the NBN, I also have a Ring’s doorbell installed that delivers a live video stream, in real time, direct to my smartphone.
I am also running live streaming of rooms at my house to a smartphone via the Netgear Arlo Security and camera system. All of it is quick and seamless.
I also run Foxtel and my home phone over the NBN network.
Chris Mitchell writing in the Australian newspaper said “If you think of complaints about NBN speeds recently. Most stories have been informed by the individual journalist’s view that the original fibre-to-the-home scheme proposed by Rudd and Stephen Conroy would have been better. As if money were no object.
But despite the unchallenged and false claim by Conroy on the Bolt Report on Tuesday night that his scheme would have been cheaper, common sense should tell every journalist in the country that rolling out fibre to the node at the end of the street across a whole continent will cost a fraction of what it would have cost to roll out that fibre to every home in the street.
He said that as columnist Terry McCrann noted in the Herald Sun on Thursday morning, the rollout that is now half finished probably would be only 15 per cent done under the Labor “Rolls Royce” NBN.
But why is the government even mandating such technology and why were the industry and the market not left to provide effective solutions?
That is the real question reporters should be asking”.
The post COMMENT: Fairfax Delivers Pure NBN Fiction appeared first on Smart Office.
]]>