芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/libraries.6/vendor/joomla/session/src/Handler/FilesystemHandler.php
2) { throw new \InvalidArgumentException(sprintf('Invalid argument $path "%s"', $path)); } // Characters after the last semi-colon are the path $baseDir = ltrim(strrchr($path, ';'), ';'); } // Create the directory if it doesn't exist if (!is_dir($baseDir)) { if (!mkdir($baseDir, 0755)) { throw new \RuntimeException(sprintf('Could not create session directory "%s"', $baseDir)); } } if (!headers_sent()) { ini_set('session.save_path', $path); ini_set('session.save_handler', 'files'); } } /** * Test to see if the HandlerInterface is available * * @return boolean True on success, false otherwise * * @since 2.0.0 */ public static function isSupported(): bool { return true; } }