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 A Bali Haven That Delivers Fast Internet For Free & A Really Cool Experience appeared first on Smart Office.
]]>![]() Click to enlarge |
![]() Click to enlarge |
![]() Click to enlarge |
![]() Click to enlarge |
![]() Click to enlarge |
The post A Bali Haven That Delivers Fast Internet For Free & A Really Cool Experience appeared first on Smart Office.
]]>The post A Bali Haven That Delivers Fast Internet For Free & A Really Cool Experience appeared first on Smart Office.
]]>![]() Click to enlarge |
![]() Click to enlarge |
![]() Click to enlarge |
![]() Click to enlarge |
![]() Click to enlarge |
The post A Bali Haven That Delivers Fast Internet For Free & A Really Cool Experience appeared first on Smart Office.
]]>The post Review: Compro’s Full-Fledged Home & SMB Security Cam System Minus The Expensive Installation appeared first on Smart Office.
]]>![]() |
Otherwise, the installation is seamless with all the IP memorising and network configuration automatically set up by the software. Wireless requires a hardline to a router and then an additional Wi-Fi dongle attachment which is sold separately.
The camera is mounted with a screw-on plate for ceiling mounting, and the software installation configures the camera for its upside-down view if mounted to a ceiling.
The ComproView software allows up to 32 Compro cams to be linked up to the one hub, with simple but fully functional controls over each feed.
![]() |
The camera picture itself is completely customisable from the simple yet resourceful software coupled with the camera. Video quality can be tweaked from file types like h.264 for high quality but compressed feeds, MJPEG for mobile streaming and MPEG-4 of various qualities and frame rates.
Low-light performance is almost brilliant on this cam, bar one hiccup. By default, the camera automatically switches between day and night modes, switching onto infrared (IR) night vision when a room gets dark. This can be disabled in favour of a manual approach.
The low-light performance is great thanks to the IR mode, capturing luminous details across far lengths. This would be a handy feature for capturing outdoor footage at night except that the IR lights on the camera can’t be switched off without turning off the IR mode altogether. What you’re left with when filming out of a closed window at night is a harsh reflection like when taking a conventional flash photo through any reflective surface.
![]() |
Alerts are (mostly) customisable based on whatever stimuli you set the camera to detect. This event based video recording takes into account things like movement to begin recording video, take snapshots or send alerts to the email or FTP server of choice. Either to save digital storage space if you’re running the camera off an ordinary PC or to be constantly in the know while you’re away, this unit has you covered.
On the downside, there was no function for taking periodic snapshots or videos and having time-stamped files forwarded off, though the option is there to schedule timeframes for the camera to operate.
The customisation extends to the sensitivity of the camera’s detection software. In the control interface (whether you’re looking at it through your browser or on the primary software), a 1-10 level is given to control the sensitivity for stimulus like sound and motion so that, for example, if you don’t want to be sent an alert every time a distant car on the road outside is picked up by the camera, you can simply tune down the sensitivity for motion detection. It’ll require a bit of trial and error though to make sure it’s just right.
Online control from anywhere, including mobile devices like iPhones, Android phones and Blackberry phones, is the standout feature of this IP camera. A static IP address site is created when you set up the camera with log-in name and password and can be used to access the camera and full controls via web browser. Handily enough, you can also set up a unique iDDNS ‘website’ name for your IP540 so you don’t have to remote the IP address version.
![]() |
In the settings, users can toggle more than one feed so that one is optimised for ordinary PC browsing while another, lower quality feed is optimised for viewing on a mobile. Network bandwidth detection finds the appropriate video bit-rate for certain feeds to eliminate the guess work.
The remote controls allow users to move the camera on its 340-degree angle and 100-degree tilt in real time with less than a second delay, and also receive and deliver sound through the two-way microphone and speaker. There is a slight mechanical noise when turning the cam though.
Coupled with a firmware update to support Seedonk instant messenger software, there are multiple other ways to view through the camera’s eye, including through apps on Android and iPhone. The internet control is compatible with all major web browsers with the installation of either a VLC or an Internet Explorer-specific plug-in.
The Compro IP540 takes the small business or home security camera installation and boils it down into a simple camera and software bundle that hands over complete control from anywhere online. It isn’t a holistic security kit, but it does turn a technical operation into a foolproof step-by-step home job without sacrificing important features.
The post Review: Compro’s Full-Fledged Home & SMB Security Cam System Minus The Expensive Installation appeared first on Smart Office.
]]>