You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

41 lines
1.2 KiB

Index: .htaccess
--- .htaccess.orig 2014-09-02 23:07:01.000000000 +0200
+++ .htaccess 2016-10-22 22:00:50.086077129 +0200
@@ -2,7 +2,7 @@
Options -MultiViews +SymLinksIfOwnerMatch
RewriteEngine On
- #RewriteBase /path/to/gitlist/
+ RewriteBase /git/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [L,NC]
Index: index.php
--- index.php.orig 2014-09-02 23:07:47.000000000 +0200
+++ index.php 2016-10-22 22:01:00.296803981 +0200
@@ -13,10 +13,6 @@
return false;
}
-if (!is_writable(__DIR__ . DIRECTORY_SEPARATOR . 'cache')) {
- die(sprintf('The "%s" folder must be writable for GitList to run.', __DIR__ . DIRECTORY_SEPARATOR . 'cache'));
-}
-
require 'vendor/autoload.php';
$config = GitList\Config::fromFile('config.ini');
Index: src/Application.php
--- src/Application.php.orig 2014-09-02 23:05:54.000000000 +0200
+++ src/Application.php 2016-10-22 22:00:50.086077129 +0200
@@ -120,10 +120,7 @@
public function getCachePath()
{
- return $this->path
- . DIRECTORY_SEPARATOR
- . 'cache'
- . DIRECTORY_SEPARATOR;
+ return "@l_prefix@/var/gitlist/cache/";
}
public function getThemePath($theme)