LobbyOS / lobby

A localhost Web OS For Web Apps
https://lobby.subinsb.com
Apache License 2.0
19 stars 10 forks source link

iEdit when file created #13

Closed Payne-X6 closed 8 years ago

Payne-X6 commented 8 years ago

When I created file, I get some error.

Fatal error: Cannot access self:: when no class...
I did solve it by changing line 131 in file includes/src/Darabase.php..
\- array_walk_recursive($return, function(&$c){ $c = self::filt($c); });
\+ array_walk_recursive($return, function(&$c){ $c = DB::filt($c); });

I didn't study that code so I don't know why but it works... Again, Apache 2.2..

Payne-X6 commented 8 years ago

It's becouse of lambdas... I see now that you have in requirements PHP 5.3... I should update apache... sorry...

subins2000 commented 8 years ago

Even though it worked for you, I have change the code : https://github.com/LobbyOS/lobby/commit/69e9383d5603cdd9229987ade902321fc3674970#diff-7f83c195dd4faf1e34cab6fb4b3d1def

suriyaa commented 8 years ago

@subins2000: :+1: