Skip to content

Commit

Permalink
Geeklog 2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ivywe committed May 5, 2015
1 parent 5e65c1f commit 8a36208
Show file tree
Hide file tree
Showing 3,366 changed files with 654,364 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
7 changes: 7 additions & 0 deletions INSTALL
@@ -0,0 +1,7 @@
Installation instructions for Geeklog can be found in the docs directory,
specifically in

public_html/docs/english/install.html

That document also includes a section on common installation problems.

11 changes: 11 additions & 0 deletions backups/README
@@ -0,0 +1,11 @@
This is the directory where Geeklog will store database backups from the
"DB Backups" menu entry. Please note that Geeklog only lists the last 10
backups - the directory may contain more files (old backups are NOT deleted).

To restore a backup, either use phpMyAdmin or type

mysql -u{user_name} -p -D {database_name} < {backup_file}

on the command line, replacing {user_name}, {database_name}, and {backup_file}
with the correct values (do not include the curly brackets).

3 changes: 3 additions & 0 deletions data/README
@@ -0,0 +1,3 @@
This is Geeklog's general data directory, used for e.g. the batch user import.

Remember that this file must be writable!
Empty file added data/layout_cache/index.html
Empty file.
Empty file added data/layout_css/index.html
Empty file.
24 changes: 24 additions & 0 deletions db-config.php
@@ -0,0 +1,24 @@
<?php

/*
* Geeklog database configuration
*
* You should not need to edit this file. See the installation instructions
* for details.
*
*/

if (strpos(strtolower($_SERVER['PHP_SELF']), 'db-config.php') !== false) {
die('This file can not be used on its own!');
}

global $_DB_host, $_DB_name, $_DB_user, $_DB_pass, $_DB_table_prefix, $_DB_dbms;

$_DB_host = 'localhost';
$_DB_name = 'geeklog';
$_DB_user = 'username';
$_DB_pass = 'password';
$_DB_table_prefix = 'gl_';
$_DB_dbms = 'mysql';

?>
15 changes: 15 additions & 0 deletions emailgeeklogstories
@@ -0,0 +1,15 @@
#!/usr/local/bin/php -q
<?php
// This code snippet is responsible for emailing Geeklog stories to users
// for the topics they select.
//
// For this script to work you must have compiled PHP so it can also be
// used as a shell scripting language. You should call this script from
// your crontab (man crontab). You will also need to set the exectuable
// flags for this file.

// Change this path to point to your lib-common.php file
include('/path/to/geeklog/lib-common.php');

COM_emailUserTopics();
?>

0 comments on commit 8a36208

Please sign in to comment.