If appearance is not affected then wood glue and screws are the best. If it's a high load problem or the side panels are splintered and won't hold a screw then you can buy 2 small metal corner braces with 1/2" screws and use one one each inside corner.
__________________
|