【发布时间】:2013-07-24 02:04:45
【问题描述】:
我在我的 codeigniter 应用程序和 PHil Sturgeon 的模板库中使用模块,当我查看模板的源代码时,我试图了解我正在发生这种情况。它在字符串 user 上添加,这是模块的名称。
http://mysite.me/index.php/user/assets/globals/bootstrap/css/bootstrap.min.css
<!--[if gt IE 8]><!--> <html> <!--<![endif]-->
<head>
<title><?php echo $template['title']; ?></title>
<!-- Meta -->
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<!-- Bootstrap -->
<link href="<?php base_url() ?>assets/globals/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
-application
-themes
-mytheme
-views
-layouts
usermanagement_view.php
【问题讨论】:
-
config.php中的base_url和index_page的设置是什么?
标签: php codeigniter