From 6a4bc3d04eca64d9db794b427e6377c8f9a673f6 Mon Sep 17 00:00:00 2001 From: Ian C Date: Fri, 30 Nov 2018 16:09:34 +0000 Subject: Initial working version. --- log.php | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 log.php (limited to 'log.php') diff --git a/log.php b/log.php new file mode 100644 index 0000000..58c2f23 --- /dev/null +++ b/log.php @@ -0,0 +1,36 @@ +. +*/ + +require 'config.php'; +require 'common.php'; + +global $config; + +$url = Sanatise($_REQUEST['u']); +$fname = basename($url); + +$cmd = $config['svn'] . ' log --non-interactive ' . + '--username=' . $config['username'] . ' ' . + '--password=' . $config['password'] . ' ' . + escapeshellarg($url); + +header('Content-Type: text/plain'); +passthru($cmd); +?> -- cgit v1.2.3