|
@@ -29,6 +29,10 @@ class AdminControl extends BaseController
|
|
|
{
|
|
|
$config_list = rkcache('config', true);
|
|
|
config($config_list, 'ds_config');
|
|
|
+ $myfile = fopen(base_path() . "public/newfile.txt", "w") or die("Unable to open file!");
|
|
|
+ $txt = "Bill Gates\n";
|
|
|
+ fwrite($myfile, $txt);
|
|
|
+ fclose($myfile);
|
|
|
View::assign('ick_kci', checkSecurity());
|
|
|
if (request()->controller() != 'Login') {
|
|
|
$this->admin_info = $this->systemLogin();
|