1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-25 07:50:23 +01:00

renamed playgame config field to ayah_enabled

This commit is contained in:
undido 2014-09-25 07:08:55 -03:00
parent 9c0436269f
commit ff68278111
2 changed files with 3 additions and 3 deletions

View File

@ -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 = <<<EOT
<p>Make sure you don't forget your password, <tt>{$_POST['password']}</tt>!</p>
<p>You can manage your site at <a href="http://8chan.co/mod.php?/">http://8chan.co/mod.php?/</a>.</p>
<p>You can manage your board at <a href="http://8chan.co/mod.php?/">http://8chan.co/mod.php?/</a>.</p>
EOT;

View File

@ -287,7 +287,7 @@
is located in the following directory:'/inc/lib/ayah/ayah_config.php'
*/
$config['playagame'] = false;
$config['ayah_enabled'] = false;