首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >ckEditor在prod环境中显示标准版本,尽管我已经将它更新为完整版本。

ckEditor在prod环境中显示标准版本,尽管我已经将它更新为完整版本。
EN

Stack Overflow用户
提问于 2014-03-13 11:10:00
回答 1查看 246关注 0票数 1

我已经从CKEditor安装命令将我的composer.phar 4.3.3更新为完整版本。它在我的CMSCreate编辑页面中显示了完整的版本。但是它只在开发模式下工作,而不是在prod模式下工作。我不知道它是如何在prod环境中加载标准版本的。请帮帮忙。我的composer.json是:

代码语言:javascript
复制
{
    "name" : "--",
    "version" : "--",
    "license" : "proprietary",
    "type" : "project",
    "description" : "-- propriatary project built on: The \"Symfony CMF Standard Edition\" distribution",
    "authors" : [{
            "name" : "--",
            "homepage" : "--"
        }, {
            "name" : "--",
            "homepage" : "--"
        }, {
            "name" : "--",
            "homepage" : "--"
        }
    ],
    "autoload" : {
        "psr-0" : {
            "" : "src/"
        }
    },
    "minimum-stability" : "stable",
    "require" : {
        "php" : ">=5.3.3",
        "symfony/symfony" : "2.3.6",
        "twig/extensions" : "1.0.*",
        "symfony/monolog-bundle" : "2.3.*",
        "symfony/assetic-bundle" : "2.3.*",
        "sensio/distribution-bundle" : "2.3.*",
        "symfony-cmf/symfony-cmf" : "1.0.*",
        "symfony-cmf/simple-cms-bundle" : "1.0.*",
        "symfony-cmf/create-bundle" : "1.0.*",
        "symfony/security-bundle" : "2.3.*",
        "jackalope/jackalope-doctrine-dbal" : "1.0.*",
        "doctrine/doctrine-bundle" : "1.2.*",
        "doctrine/data-fixtures" : "1.0.*",
        "doctrine/migrations": "dev-master",
        "doctrine/doctrine-migrations-bundle": "dev-master",
        "lunetics/locale-bundle" : "2.2.*",
        "liip/doctrine-cache-bundle" : "1.0.*",
        "incenteev/composer-parameter-handler" : "~2.0",
        "liip/imagine-bundle" : "~0.12",
        "wjzijderveld/check-bundles" : "1.0.*@dev",
        "sonata-project/core-bundle": "~2.2@dev",
        "sonata-project/admin-bundle" : "dev-master",
        "sonata-project/doctrine-phpcr-admin-bundle" : "dev-master",
        "sonata-project/doctrine-orm-admin-bundle" : "dev-master",
        "symfony/swiftmailer-bundle" : "dev-master",
        "sonata-project/easy-extends-bundle" : "dev-master",
        "sonata-project/user-bundle" : "dev-master",
        "friendsofsymfony/user-bundle" : "v1.3.3",
        "gedmo/doctrine-extensions" : "dev-master",
        "sonata-project/block-bundle" : "dev-master",
        "whiteoctober/breadcrumbs-bundle" : "dev-master",
        "setasign/fpdi" : "1.4.2",
        "tecnick.com/tcpdf" : "6.0.052"
    },
    "require-dev" : {
        "liip/functional-test-bundle" : "1.0.*"
    },
    "scripts" : {
        "post-install-cmd" : [
            "WillemJan\\CheckBundles\\Composer\\CheckBundles::postPackageUpdate",
            "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
            "Symfony\\Cmf\\Bundle\\CreateBundle\\Composer\\ScriptHandler::downloadCreateAndCkeditor",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets"
        ],
        "post-update-cmd" : [
            "WillemJan\\CheckBundles\\Composer\\CheckBundles::postPackageUpdate",
            "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
            "Symfony\\Cmf\\Bundle\\CreateBundle\\Composer\\ScriptHandler::downloadCreateAndCkeditor",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
        ]
    },
    "config" : {
        "bin-dir" : "bin"
    },
    "extra" : {
               "ckeditor-directory": "vendor/symfony-cmf/create-bundle/Symfony/Cmf/Bundle/CreateBundle/Resources/public/vendor/ckeditor",
                   "ckeditor-repository": "https://github.com/ckeditor/ckeditor-releases.git",
                   "ckeditor-commit": "0b7c3f1f5c0a9d14657cedf56a3735a2c57a38ac",
            "checkbundles-ignore" : [
            "Liip\\FunctionalTestBundle\\LiipFunctionalTestBundle",
            "Sensio\\Bundle\\DistributionBundle\\SensioDistributionBundle",
            "Sonata\\BlockBundle\\SonataBlockBundle",
            "Symfony\\Cmf\\Bundle\\BlockBundle\\CmfBlockBundle"
        ],
        "symfony-app-dir" : "app",
        "symfony-web-dir" : "web",
        "incenteev-parameters" : {
            "file" : "app/config/parameters.yml",
            "keep-outdated": true
        },
        "branch-alias" : {
            "dev-master" : "1.0-dev"
        }
    }
}

任何帮助都将是真正的学徒。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2014-05-30 06:32:39

跑后

代码语言:javascript
复制
Assetic dump
app/console assetic:dump

解决了这个问题。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/22376723

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档