简体   繁体   English

如何在 php 的管理面板中更改网站名称?

[英]How do I change the web-site name from admin panel in php?

I am creating a new site and I am wondering if it is possible to change the site name from the admin panel?我正在创建一个新站点,我想知道是否可以从管理面板更改站点名称? I searched a lot but could not find it.我搜索了很多,但找不到它。 I have not written any code for this yet我还没有为此编写任何代码

<head>
    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <title>registration</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- favicon -->        
    <link rel="shortcut icon" type="image/x-icon" href="img/logo/favicon.ico">

    <!-- all css here -->

    <!-- bootstrap v3.3.6 css -->
    <link rel="stylesheet" href="css/bootstrap.min.css">
    <!-- font-awesome css -->
    <link rel="stylesheet" href="css/font-awesome.min.css">
    <!-- style css -->
    <link rel="stylesheet" href="style.css">
    <!-- responsive css -->
    <link rel="stylesheet" href="css/responsive.css">

    <!-- modernizr css -->
    <script src="js/vendor/modernizr-2.8.3.min.js"></script>
</head>

After <title>registration {here site name}</title> I want the site name to be written automatically. <title>registration {here site name}</title>我希望站点名称自动写入。 I have the file in PHP of course.我当然有 PHP 中的文件。 Is it possible to do this without Laravel?没有 Laravel 是否可以做到这一点?

What I usually do is create a settings table that contains all the site information which will queried and displayed on the site.我通常做的是创建一个设置表,其中包含将在站点上查询和显示的所有站点信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM