Welcome Guest, Not a member yet? Register   Sign In
Strange error in custom library
#1

[eluser]Razican[/eluser]
Hello, I have modified the OnlineUsers library, and changed the file variable to one in the app/data/ directory. I have that section like this:

Code:
class Online_users{
    var $file    = APPATH.'data/online_users.tmp';
    var $data;

It says that there is an error in
Code:
APPATH.'data/online_users.tmp';

Code:
Parse error: syntax error, unexpected '.', expecting ',' or ';' in application/libraries/Online_users.php on line 15

How can I solve that?


Messages In This Thread
Strange error in custom library - by El Forum - 11-28-2010, 07:15 AM
Strange error in custom library - by El Forum - 11-28-2010, 10:18 AM
Strange error in custom library - by El Forum - 11-28-2010, 11:01 AM
Strange error in custom library - by El Forum - 11-28-2010, 11:47 AM
Strange error in custom library - by El Forum - 11-28-2010, 11:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB