Fix some typos.
This commit is contained in:
parent
b0f67ee17d
commit
f8953949d3
|
@ -103,7 +103,9 @@ ob_start();
|
||||||
|
|
||||||
// Select fortunes
|
// Select fortunes
|
||||||
// If you want different fortunes for different sections you can do that here
|
// If you want different fortunes for different sections you can do that here
|
||||||
|
if(!isset($config_name)) {
|
||||||
|
$config_name = null;
|
||||||
|
}
|
||||||
if($config_name == 'computers' || $config_name == 'programming') {
|
if($config_name == 'computers' || $config_name == 'programming') {
|
||||||
passthru('/usr/games/fortune -s -n 100 linux debian perl linuxcookie computers');
|
passthru('/usr/games/fortune -s -n 100 linux debian perl linuxcookie computers');
|
||||||
} else if ($config_name == 'arts' || $config_name == 'interests') {
|
} else if ($config_name == 'arts' || $config_name == 'interests') {
|
||||||
|
|
|
@ -43,7 +43,7 @@ return [
|
||||||
'server_auth_pass' => $CONFIG['server_auth_pass'],
|
'server_auth_pass' => $CONFIG['server_auth_pass'],
|
||||||
'anonusername' => $CONFIG['anonusername'],
|
'anonusername' => $CONFIG['anonusername'],
|
||||||
'anonuserpass' => $CONFIG['anonuserpass'],
|
'anonuserpass' => $CONFIG['anonuserpass'],
|
||||||
'timezone' => $CONFIG['tiemzone'],
|
'timezone' => $CONFIG['timezone'],
|
||||||
'default_content' => $CONFIG['default_content'],
|
'default_content' => $CONFIG['default_content'],
|
||||||
'organization' => $CONFIG['organization'],
|
'organization' => $CONFIG['organization'],
|
||||||
'verify_email' => $CONFIG['verify_email'],
|
'verify_email' => $CONFIG['verify_email'],
|
||||||
|
|
|
@ -201,6 +201,7 @@ function remove_articles($group) {
|
||||||
unlink($spooldir.'/'.$group.'-cache.txt');
|
unlink($spooldir.'/'.$group.'-cache.txt');
|
||||||
unlink($spooldir.'/'.$group.'-lastarticleinfo.dat');
|
unlink($spooldir.'/'.$group.'-lastarticleinfo.dat');
|
||||||
unlink($spooldir.'/'.$group.'-overboard.dat');
|
unlink($spooldir.'/'.$group.'-overboard.dat');
|
||||||
|
unlink($spooldir.'/'.$group.'-overview');
|
||||||
}
|
}
|
||||||
|
|
||||||
function import_articles($group) {
|
function import_articles($group) {
|
||||||
|
|
Loading…
Reference in New Issue