Gitlist php.ini problem

169 views
Skip to first unread message

Pilate Pontoneli

unread,
Jun 25, 2014, 3:20:46 AM6/25/14
to git...@googlegroups.com
Please, help me:(


So, i followed install instruction, nut when i'm connecting to server localhost/gitlist  there appears screen like this:

<?php

/**
 * GitList 0.3
 * https://github.com/klaussilveira/gitlist
 */

// Set the default timezone for systems without date.timezone set in php.ini
if (!ini_get('date.timezone')) {
    date_default_timezone_set('UTC');
}

if (php_sapi_name() == 'cli-server' && file_exists(substr($_SERVER['REQUEST_URI'], 1))) {
    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');
$app = require 'boot.php';
$app->run();


My config of php.ini:
[Date]
; Defines the default timezone used by the date functions
date.timezone = Asia/Tbilisi

(i uncommented data.timezone = Asia/Tbilisi)
Reply all
Reply to author
Forward
0 new messages