mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-29 09:44:28 +01:00
renamed playgame config field to ayah_enabled
This commit is contained in:
parent
9c0436269f
commit
ff68278111
@ -6,7 +6,7 @@ include "inc/mod/auth.php";
|
|||||||
checkBan('*');
|
checkBan('*');
|
||||||
$bannedWords = array('/^cake$/', '8ch', '/^cp$/', 'child', '/^inc$/', '/^static$/', '/^templates$/', '/^js$/', '/^stylesheets$/', '/^tools$/');
|
$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 (!isset($_POST['uri'], $_POST['title'], $_POST['subtitle'], $_POST['username'], $_POST['password'])) {
|
||||||
if (!$ayah){
|
if (!$ayah){
|
||||||
@ -120,7 +120,7 @@ $body = <<<EOT
|
|||||||
|
|
||||||
<p>Make sure you don't forget your password, <tt>{$_POST['password']}</tt>!</p>
|
<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;
|
EOT;
|
||||||
|
|
||||||
|
@ -287,7 +287,7 @@
|
|||||||
is located in the following directory:'/inc/lib/ayah/ayah_config.php'
|
is located in the following directory:'/inc/lib/ayah/ayah_config.php'
|
||||||
|
|
||||||
*/
|
*/
|
||||||
$config['playagame'] = false;
|
$config['ayah_enabled'] = false;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user