thinkphp dir.class.php,ThinkPHP_1.5

【实例简介】

ThinkPHP是一个开源的PHP框架,是为了简化企业级应用开发和敏捷WEB应用开发而诞生的。

【实例截图】

【核心代码】

ThinkPHP_1.5.0PHP100

└── ThinkPHP

├── Common

│   ├── compat.php

│   ├── convention.php

│   ├── debug.php

│   ├── defines.php

│   ├── functions.php

│   ├── plugin.php

│   └── runtime.php

├── Lang

│   └── zh-cn.php

├── Lib

│   ├── ORG

│   │   ├── Date

│   │   │   └── Date.class.php

│   │   ├── Io

│   │   │   └── Dir.class.php

│   │   ├── Net

│   │   │   ├── Http.class.php

│   │   │   ├── IpLocation.class.php

│   │   │   └── UploadFile.class.php

│   │   ├── RBAC

│   │   │   ├── AccessDecisionManager.class.php

│   │   │   ├── Provider

│   │   │   │   └── DaoAuthentictionProvider.class.php

│   │   │   ├── ProviderManager.class.php

│   │   │   └── RBAC.class.php

│   │   ├── Text

│   │   │   └── Validation.class.php

│   │   └── Util

│   │   ├── AppCodingSwitch.class.php

│   │   ├── ArrayList.class.php

│   │   ├── HashMap.class.php

│   │   ├── Image.class.php

│   │   ├── Page.class.php

│   │   └── Stack.class.php

│   └── Think

│   ├── Core

│   │   ├── Action.class.php

│   │   ├── App.class.php

│   │   ├── Base.class.php

│   │   ├── Model.class.php

│   │   └── View.class.php

│   ├── Db

│   │   ├── Db.class.php

│   │   ├── Driver

│   │   │   ├── DbIbase.class.php

│   │   │   ├── DbMssql.class.php

│   │   │   ├── DbMysql.class.php

│   │   │   ├── DbMysqli.class.php

│   │   │   ├── DbOracle.class.php

│   │   │   ├── DbPdo.class.php

│   │   │   ├── DbPgsql.class.php

│   │   │   └── pgsql.sql

│   │   └── ResultIterator.class.php

│   ├── Exception

│   │   └── ThinkException.class.php

│   ├── Template

│   │   ├── TagLib

│   │   │   ├── TagLibCx.class.php

│   │   │   └── TagLibHtml.class.php

│   │   ├── TagLib.class.php

│   │   ├── Tags

│   │   │   ├── cx.xml

│   │   │   └── html.xml

│   │   └── ThinkTemplate.class.php

│   └── Util

│   ├── Cache

│   │   ├── CacheApachenote.class.php

│   │   ├── CacheApc.class.php

│   │   ├── CacheDb.class.php

│   │   ├── CacheEaccelerator.class.php

│   │   ├── CacheFile.class.php

│   │   ├── CacheMemcache.class.php

│   │   ├── CacheShmop.class.php

│   │   ├── CacheSqlite.class.php

│   │   └── CacheXcache.class.php

│   ├── Cache.class.php

│   ├── Cookie.class.php

│   ├── Debug.class.php

│   ├── Dispatcher.class.php

│   ├── Filter

│   │   └── FilterDbSession.class.php

│   ├── Filter.class.php

│   ├── HtmlCache.class.php

│   ├── Input.class.php

│   ├── Log.class.php

│   └── Session.class.php

├── logo.jpg

├── PlugIns

│   ├── EaseTemplate

│   │   └── EaseTemplate.php

│   ├── SmartyTemplate

│   │   └── SmartyTemplate.php

│   ├── TemplateLite

│   │   └── TemplateLite.php

│   ├── varFilter.php

│   └── viewCache.php

├── ThinkPHP.php

├── Thumbs.db

├── Tools

│   ├── Build.php

│   ├── common.php

│   ├── config.php

│   └── readme.txt

└── Tpl

├── PageTrace.tpl.php

└── ThinkException.tpl.php

29 directories, 79 files

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
__DIR__ 在 PHP 中是一个魔术常量,它表示当前文件所在的目录的绝对路径。 在引用中提到,当将 require_once 'c.php' 改成 require_once __DIR__ . '/c.php' 时,可以解决某些情况下找不到文件的问题。这是因为在这种情况下,系统会直接寻找和当前文件所在目录相同的目录下的 c.php 文件。中的错误信息提示,似乎是在引入 thinkphp/start.php 文件时出现了问题。具体的错误信息是 "Failed opening required __DIR__ . './thinkphp/start.php'"。根据错误信息中包含的 __DIR__,推测在这里可能是将 __DIR__ 作为字符串直接进行引用,而没有将其解析为实际的目录路径。因此,需要将 __DIR__ 从字符串中解析出来,然后与 './thinkphp/start.php' 进行拼接,确保引入的路径正确。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *2* [PHP的 __DIR__ 作用](https://blog.csdn.net/qwq1503/article/details/104580918)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"] - *3* [【报错】thinkphp5.0.22无法输出__DIR__的值](https://blog.csdn.net/weixin_41728561/article/details/84111619)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值