apache_conf config.yaml

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了apache_conf config.yaml相关的知识,希望对你有一定的参考价值。

id: DataAPIFormatPHP
name: DataAPIFormatPHP
version: 0.01
description: "This plugin enables the Data API to export data in PHP source code."
author_name: "Taku AMANO"
author_link: http://taaas.jp/
plugin_link: https://github.com/usualoma/mt-plugin-DataAPIFormatPHP/

applications:
  data_api:
    formats:
      php:
        mime_type: application/x-php
        serialize: |
          sub {
            require PHP::Session::Serializer::PHP;
            my $serializer = PHP::Session::Serializer::PHP->new;
            qq{<?php return unserialize('@{[$serializer->do_encode($_[0])]}'); ?>}
          }
        unserialize: |
          sub {
            require PHP::Session::Serializer::PHP;
            my $serializer = PHP::Session::Serializer::PHP->new;
            $serializer->{buffer} = $_[0];
            $serializer->change_state('VarType');
            while (defined $serializer->{buffer} && length $serializer->{buffer}) {
              $serializer->{state}->parse($serializer);
            }
            $serializer->{data};
          }

以上是关于apache_conf config.yaml的主要内容,如果未能解决你的问题,请参考以下文章

apache_conf config.yaml

apache_conf config.yaml

apache_conf config.yaml

如何复制其他文件,例如config/config.yaml,到 .next 文件夹

TYPO3 站点 config.yaml 在自己的扩展中外包?

ruby 修改Setting config yaml内容