Skip to content

Commit 483c758

Browse files
authored
Fix PHP config
1 parent 5c0a72d commit 483c758

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

php-config.php

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -137,21 +137,4 @@ function status_message() {
137137
return $GLOBALS['status_message'];
138138
}
139139
}
140-
$config = new Config;
141-
$config->language('slovenian');
142-
$config->showClass(1);
143-
$config->showOther(1);
144-
145-
$config->comment('test');
146-
$config->set('display_offline_message', 1,'');
147-
$config->set('offline', '1',2);
148-
$config->comment('testek');
149-
$config->set('offline_message', 'hej','nej');
150-
$config->set('offline_message2', 'hej','nej');
151-
152-
$data = $config->toString('Config','//addclass','//addnoclass');
153-
$config->toFile('config.php',$data);
154-
echo $config->status_message();
155-
156-
157-
?>
140+
?>

0 commit comments

Comments
 (0)