我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

require_once找不到文件

I try to use my own classes in the ratchet main class but I fail at the require_once

See the image of my files structure.

enter image description here

Try using require_once __DIR__.'/../../UserManager.php'

@dasdasd here is my commented converted into an answer... thanks ;)

近期文章

  • Php runkit_import和最终类
  • Laravel:PHPUnit测试没有触发
  • 如何在类中使用全局变量
  • 无法检索reddit用户身份
  • 从两个表加入然后从结果加入到第三个表mysql
  • IE中的错误检索按钮内的变量?
  • Codeigniter无法使用Javascript读取cookie集
  • 如何一次获取一行文件的内容?
  • 从mysql表中获取哪些列类型为“timestamp”的数据?
  • Symfony2 / Twig:如何将允许的值设置为dropDownField
  • 通过Ajax将禁用的输入值传递给PHP表单提交
  • php正则表达式匹配url包含并用破折号替换斜杠
  • Php Curl Cookie登录
  • PDF文件下载错误PHP
  • 计算mysql中的出现次数
  • 全局变量使用
  • 具有不同大小的SVG上的CSS效果(阴影,笔画)
  • Smarty if / else使用Post参数?
  • 具有Smarty的二维数组 - 致命错误不能使用类型的对象
  • 安装CMS Concrete5的5.7.2.1版时出现疯狂的长“异常”

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华