ExpressionEngine 2.2.2:path.php 不存在?

发布于 2024-12-08 04:00:55 字数 759 浏览 0 评论 0原文

我在使用 EE 2.2.2 创建多语言网站时遇到问题,因为我没有 path.php,只有 admin.php 和 index.php,这是什么意思?

(这可能是因为我的EE版本,我有2.2.2)

因此我无法使用扩展来做到这一点。

预先感谢大家;

最美好的祝愿,塞布。


非常感谢您回答我,rjb

我已经看过您发布的链接,但我还有其他问题:

我是否还必须将文件 admin.php 的副本放在我的每个语言目录或索引中。 php 文件仅对他来说就足够了?...

知道目前我总是在本地服务器上,我是否必须将 admin.php 文件提升一个级别?

此外,文件 core.language.php 被重新指定,因为我在这个命名下找不到它,是什么阻止我保护它,它在这个版本的 EE 下以什么名称存在?

仍然感谢您花时间解决我的问题。

最美好的祝愿,塞布。

(我为我的英语太糟糕而道歉,我很抱歉是法语,哈哈)


您好,

唯一可以对应的文件是 EE_Lang.php

C:\wamp\www\ExpressionEngine2.2.2\system\expressionengine\core

和 Lang.php 。

C:\wamp\www\ExpressionEngine2.2.2\system\codeigniter\system\core.

I have a problem for create a multi language site with EE 2.2.2 because I don't have path.php, only admin.php and index.php, what does it mean?

(It is possible whether it is because of my version of EE, I've got the 2.2.2)

I can't use the extension for do that because of this.

Thank you in advance for all;

Best wishes, seb.


Thank you very much for answer me, rjb

I had watched the links you had post, but I have others question:

Do I also have to put a copy of the file admin.php in each of my directory of language, or the index.php file is sufficient to him only?...

Knowing that for the moment I am always on a local server, do I have to make rise of a level the admin.php file?

Furthermore, the file core.language.php was reappointed because I don't find it under this naming, what prevents me from protecting it, under what name does it exist under this version of EE?

Still thank you for the time which you granted and which you grant to my problems.

Best wishes, seb.

(I apologize for my English which is so bad, I'm sorry to be french, lol)


Hello,

The only files which can correspond are EE_Lang.php which is in

C:\wamp\www\ExpressionEngine2.2.2\system\expressionengine\core

and Lang.php which is in

C:\wamp\www\ExpressionEngine2.2.2\system\codeigniter\system\core.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

緦唸λ蓇 2024-12-15 04:00:55

ExpressionEngine 1.x 使用 path.php 来设置手动可配置的全局变量,许多多语言方法通过使用 URL 段变量和专门命名的自定义字段来本地化内容。 [ 1, 2 ]

重写 ExpressionEngine 2.x 以使用 CodeIgniter框架,EllisLab将根目录下的文件path.phpindex.php合并为一个文件:索引.php

/public_html
    – admin.php
    – index.php
    + images
    + system
    + themes

从 EE 2.2.0 的发布(变更日志)开始,引入了新的根目录中的文件admin.php,用作屏蔽的占位符访问控制面板

ExpressionEngine 1.x used path.php for setting Manually Configurable Global Variables, which many MultiLingual Approaches used for localizing content thru the use of URL segment variables and specifically-named custom fields. [ 1, 2 ]

With the rewrite of ExpressionEngine 2.x to use the CodeIgniter Framework, EllisLab merged the files path.php and index.php in the root directory into a single file: index.php.

/public_html
    – admin.php
    – index.php
    + images
    + system
    + themes

Starting with the release of EE 2.2.0 (changelog), saw the introduction of a new file admin.php in the root directory, used as a placeholder for Masking Access to the Control Panel.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文