CodeIgniter Forums
[solved] Magic __destruct - Win vs. Mac - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: [solved] Magic __destruct - Win vs. Mac (/showthread.php?tid=52632)

Pages: 1 2


[solved] Magic __destruct - Win vs. Mac - El Forum - 06-22-2012

[eluser]CroNiX[/eluser]
Quote:because apparently it cannot resolve relative paths by the time when the destructor is called for referenced objects

Looks like those CI functions are using a relative path (Warning: include(icf/errors/error_php.php) [function.include]: failed to open stream: No such file or directory). You'd probably have to extend the core and stick an APPPATH in front of those paths so it will be a full path instead of relative.