From ff68278111e710bb60089616695267f6073dcd99 Mon Sep 17 00:00:00 2001
From: undido
Date: Thu, 25 Sep 2014 07:08:55 -0300
Subject: [PATCH] renamed playgame config field to ayah_enabled
---
create.php | 4 ++--
inc/config.php | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/create.php b/create.php
index e0939549..447a33c9 100644
--- a/create.php
+++ b/create.php
@@ -6,7 +6,7 @@ include "inc/mod/auth.php";
checkBan('*');
$bannedWords = array('/^cake$/', '8ch', '/^cp$/', 'child', '/^inc$/', '/^static$/', '/^templates$/', '/^js$/', '/^stylesheets$/', '/^tools$/');
-$ayah = (($config['playagame']) ? new AYAH() : false);
+$ayah = (($config['ayah_enabled']) ? new AYAH() : false);
if (!isset($_POST['uri'], $_POST['title'], $_POST['subtitle'], $_POST['username'], $_POST['password'])) {
if (!$ayah){
@@ -120,7 +120,7 @@ $body = <<Make sure you don't forget your password, {$_POST['password']}!
-You can manage your site at http://8chan.co/mod.php?/.
+You can manage your board at http://8chan.co/mod.php?/.
EOT;
diff --git a/inc/config.php b/inc/config.php
index 11770e57..45394710 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -287,7 +287,7 @@
is located in the following directory:'/inc/lib/ayah/ayah_config.php'
*/
- $config['playagame'] = false;
+ $config['ayah_enabled'] = false;