diff --git a/cjax/ajax.php b/cjax/ajax.php index d3cf608..cd1e3de 100644 --- a/cjax/ajax.php +++ b/cjax/ajax.php @@ -39,7 +39,7 @@ **/ class ajax { - function ajax($controller) + function __construct($controller) { $ajax = ajax();