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