Permalink
Browse files

A couple of small tweaks

  • Loading branch information...
h9k committed Sep 28, 2014
1 parent 8bed585 commit 0fc6ccdefc1716114fd2440487c13eb15ecb7a55
Showing with 4 additions and 4 deletions.
  1. +1 −1 admin/index.php
  2. +1 −1 admin/lib/Admin.class.php
  3. +1 −1 conf/anope.cfg.dist.php
  4. +1 −1 setup/sql/schema.sql
View
@@ -134,7 +134,7 @@
@touch($db_config_file);
}
if (!$db) {
$db = array('username' => $service, 'password' => $service, 'database' => $service, 'prefix' => null, 'hostname' => 'localhost');
$db = array('username' => $service, 'password' => $service, 'database' => $service, 'prefix' => ($service == "anope") ? "anope_" : null, 'hostname' => 'localhost');
}
$admin->tpl->assign('db_config_file', $db_config_file);
$admin->tpl->assign('writable', is_writable($db_config_file));
@@ -50,7 +50,7 @@ function __construct() {
$this->ckeditor->config['width'] = 740;
$this->ckeditor->config['baseHref'] = '../';
$this->ckeditor->config['contentsCss'] = array('../theme/'.$this->cfg->theme.'/css/styles.css', '../theme/'.$this->cfg->theme.'/css/editor.css', 'http://fonts.googleapis.com/css?family=Share');
$this->ckeditor->config['docType'] = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">';
$this->ckeditor->config['docType'] = '<!DOCTYPE html>';
$this->ckeditor->config['emailProtection'] = 'encode';
$this->ckeditor->config['entities'] = true;
$this->ckeditor->config['forcePasteAsPlainText'] = true;
View
@@ -5,7 +5,7 @@
'username' => 'anope',
'password' => 'anope',
'database' => 'anope',
'prefix' => '_anope',
'prefix' => 'anope_',
'hostname' => 'localhost',
'port' => 3306,
'ssl' => false,
View
@@ -63,7 +63,7 @@ CREATE TABLE IF NOT EXISTS `magirc_content` (
-- Dumping data for table `magirc_content`
--
INSERT IGNORE INTO `magirc_content` (`name`, `text`) VALUES ('welcome', '<h1>Welcome to Magirc</h1><p>These are the Web Stats of this IRC Network.<br />You will find detailed information about the network status and the activity of its channels and users.<br />Enjoy your stay!</p>');
INSERT IGNORE INTO `magirc_content` (`name`, `text`) VALUES ('welcome', '<h1>Welcome to MagIRC</h1><p>These are the Web Stats of this IRC Network.<br />You will find detailed information about the network status and the activity of its channels and users.<br />Enjoy your stay!</p>');
--
-- Table structure for table `magirc_admin`

0 comments on commit 0fc6ccd

Please sign in to comment.