From 3f9483e622a38b15b8e6f7d448fac2513b3f1df0 Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@iml.unibe.ch> Date: Thu, 1 Apr 2021 15:26:16 +0200 Subject: [PATCH] update readme --- hooks/templates/inc_config.php.erb | 8 +++++++- readme.md | 7 ++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/hooks/templates/inc_config.php.erb b/hooks/templates/inc_config.php.erb index 8e0c544..a7198aa 100644 --- a/hooks/templates/inc_config.php.erb +++ b/hooks/templates/inc_config.php.erb @@ -1,7 +1,13 @@ <?php return array( + + // define a secret aka pi key 'apikey'=>'@replace["apikey"]', - 'cutfromrequest'=>'^/packages', + + // local directory of synched ci packages 'packagedir'=>dirname(__DIR__).'/packages', + + // allow directory listing when accessing a path of a package + 'showdircontent'=>true, ); diff --git a/readme.md b/readme.md index 469a2ab..0186361 100644 --- a/readme.md +++ b/readme.md @@ -61,9 +61,14 @@ set a secret behind key apikey. ```php return array( + // define a secret aka pi key 'apikey'=>'our-package-server-secret', - 'cutfromrequest'=>'^/packages', + + // local directory of synched ci packages 'packagedir'=>dirname(__DIR__).'/packages', + + // allow directory listing when accessing a path of a package + 'showdircontent'=>true, ); ``` -- GitLab