在Xampp错误上安装YonaCMS

时间:2016-11-12 14:41:49

标签: xampp phalcon

我已经通过作曲家在Xampp上安装了YonaCMS(phalcon CMS)

但安装后网站获取模板错误。 Css没有加载和网址似乎无法正常工作。我认为必须配置.htaccess或类似的东西。任何人都在Xampp上安装了YonaCMS请帮忙。

1 个答案:

答案 0 :(得分:0)

You can set the site URL in the config file:

Set base_path in app/config/environment/development.php (If you are using production environment then edit app/config/environment/production.php)

eg:

<?php

return [
//'base_path' => '/',
'base_path' => 'http://localhost/yona-cms/public/',

'database'  => [
    'adapter'  => 'Mysql',
    'host'     => 'localhost',
    'username' => 'root',
    'password' => '',
    'dbname'   => 'yona-cms',
    'charset'  => 'utf8',
],

'memcache'  => [
    'host' => 'localhost',
    'port' => 11211,
],

'memcached'  => [
    'host' => 'localhost',
    'port' => 11211,
],

'cache'     => 'file', // memcache, memcached
];