回复讨论(解决方案) 错误显示:找不到 thinkphpcommon/runtime.php
这却的位置是 thinkphp/common/runtime.php
由此可知,你使用的是 thinkphp 2 而不是 thinkphp 3
需 defined('think_path', 'thinkphp/');
或者不自己定义而由 thinkphp 自己处理
错误显示:找不到 thinkphpcommon/runtime.php
这却的位置是 thinkphp/common/runtime.php
由此可知,你使用的是 thinkphp 2 而不是 thinkphp 3
需 defined('think_path', 'thinkphp/');
或者不自己定义而由 thinkphp 自己处理
按这个改了就好了,不过很奇怪的是我下载的明明是thinkphp3.0,为嘛会变成thinkphp2.0,好奇怪
thinkphp3 的 thinkphp/thinkphp.php
是这样定义 think_path 的
defined('think_path') or define('think_path', dirname(__file__).'/');
thinkphp3 的 thinkphp/thinkphp.php
是这样定义 think_path 的
defined('think_path') or define('think_path', dirname(__file__).'/');
嗯,明白了,谢谢
