X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=blobdiff_plain;f=application%2Fcontrollers%2Fcatalog.php;h=37b1a6cb32ecaa0ec1dae4c3d030068526fc13b1;hb=a4b67ff4aaa76dc95e774be78724909193999ee4;hp=e748d9518e26ada96bc28658fe8d9e16a339b8f2;hpb=44e76cbf029fbec96b9a91837963b872f4984004;p=living-lab-site.git diff --git a/application/controllers/catalog.php b/application/controllers/catalog.php index e748d95..37b1a6c 100644 --- a/application/controllers/catalog.php +++ b/application/controllers/catalog.php @@ -33,11 +33,12 @@ class Catalog extends CI_Controller { { $this->load->helper('url'); - $format = 'Calin Andrei '; - $pos = strpos($format, ' '); - if($pos !== FALSE) - $format = substr($format, 0, $pos); - echo $format; + echo 'link'; + } + + public function search($query_str) + { + echo $query_str; } }