1 <?phpC(‘‘) >> C(‘DB_TYPE‘) $config = C(‘‘);dump($config); //print var$this->show("<p style=‘color: red;‘>Hello ThinkPHP!</p>");echo "<p style=‘color: blue;‘>Hello world.</p>";return array(‘DB_TYPE‘ => ‘mysql‘,‘UPLOAD_NAME‘ => ‘jikexueyuan_upload‘,‘LOAD_EXT_CONFIG‘ => ‘user,upload‘,);?>index.php CODE:define(‘BIND_MODULE‘,‘User‘); //Create a new module named User.define(‘CONFIG_EXT‘,‘.yaml‘); //Configuration extension.
时间: 2024-10-25 07:40:37