zoukankan      html  css  js  c++  java
  • asaph

    搞了几个小时总算搞好了,先看看asaph是什么

    Asaph

    Asaph is a micro-blogging system, focusing on collecting links and images from other pages. It allows you to post content directly from any page you are on. Asaph is not a full blown blog and it does not aim to be one — it just does this one task, but it's pretty good at it.

    The alternative Stickney Theme also shows date and author information for each post and allows posting of longer texts. Feel free to modify these themes to your liking, or create new ones.

    工程主页: http://www.phoboslab.org/projects/asaph

    安装只需设置三个项目就可以了

    $domain$absolutePath and $db. You also have the option to switch from the minimalist whiteout templates to the stickney templates by just replacing both occurrences of “whiteout” with “stickney” in the $templates setting.

    但是我搞了好久,还没搞好,主要是二级域名和二级目录的问题

    用二级域名

    // Domain name and path where Asaph is installed in
    public static $domain = 'asaph.schoolbaike.com';
    public static $absolutePath = '/';

    不行啊,改来改去就是不行,没辙,

    最后迫不得已放在二级域名的目录下

    // Domain name and path where Asaph is installed in
    public static $domain = 'blog.schoolbaike.com';
    public static $absolutePath = '/asaph/';

    终于Ok了,

    怎么换模板呢?

    You also have the option to switch from the minimalist whiteout templates to the stickney templates by just replacing both occurrences of “whiteout” with “stickney” in the $templates setting.

    在配置文件了把whiteout全都换成stickney就可以了啊!

  • 相关阅读:
    golang zip 压缩,解压(含目录文件)
    c3p0参数详解
    golang协程——通道channel阻塞
    乔恩与加菲猫引发的思考
    部署bugzilla(bugzilla+apache+mysql+linux)
    新的篇章
    SQL基础2
    SQL基础1
    引用
    const 对象默认为文件的局部变量
  • 原文地址:https://www.cnblogs.com/youxin/p/2261801.html
Copyright © 2011-2022 走看看