예제 #1
0
<?php

# Site title and description
gb::$site_title = 'smisk';
# Private secret
gb::$secret = trim(file_get_contents(dirname(__FILE__) . '/secret'));
# Index prefix -- rewrite rules only engaged live
if ($_SERVER['SERVER_NAME'] === 'python-smisk.org') {
    gb::$index_prefix = '';
}
예제 #2
0
파일: gb-config.php 프로젝트: rsms/gitblog
<?php

# Site title and description
gb::$site_title = 'My gitblog';
#gb::$site_description = 'Ramblings by My Name';
# Shared secret used for hook triggering, etc.
# Must contain only shell-safe characters (a-zA-Z0-9_-. and so on) and be at
# least 62 bytes long.
gb::$secret = '';
# If you wish to keep the secret in a separate file, this is the suggested way
# to do it:
#gb::$secret = trim(file_get_contents(dirname(__FILE__).'/secret'));
# The post-update hook have built-in support for reading the secret from both
# <site_dir>/secret and the config file.
# If you have applied server rewrite rules, routing requests to index.php, you
# probably want to set index_url to "" (the empty string). May differ
# depending on your rewrite rules.
#gb::$index_prefix = '';
# Note that if you use lighttpd, read this: "Configuring PHP"
# http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModFastCGI#FastCGI-and-Programming-Languages