src/class/Config.php
private static function checkSavePath($path) {
            if (is_string($path)) {
                $dir = dirname($path);

                return file_exists($dir) && is_writeable($dir);
            } elseif (is_resource($path)) {
                return true;
            }

            return false;
        }
private static function checkSavePath($path) {
            if (is_string($path)) {
                $dir = dirname($path);

                return file_exists($dir) && is_writeable($dir);
            } elseif (is_resource($path)) {
                return true;
            }

            return false;
        }
private static function checkSavePath ( $ path ) { if ( is_string ( $ path ) ) { $ dir = dirname ( $ path ) ; return file_exists ( $ dir ) && is_writeable ( $ dir ) ; } elseif ( is_resource ( $ path ) ) { return true ; } return false ; }
Checks if the log save path is acceptable

@author Art <a.molcanovas@gmail.com>

@param mixed $path The log save path

@return bool
Checks if the log save path is acceptable