Phalcon Framework 3.2.2

SolrClientException: Solr HTTP Error 7: 'Couldn't connect to server'

/var/www/iLove2.0/apps/frontend/controllers/IndexController.php (237)
#0SolrClient->query(Object(SolrQuery))
/var/www/iLove2.0/apps/frontend/controllers/IndexController.php (237)
<?php
namespace Multiple\Frontend\Controllers;
 
use Phalcon\Mvc\Controller;
use Phalcon\Http\Request;
use Phalcon\Cache\Backend\File as BackFile;
use Phalcon\Cache\Frontend\Data as FrontData;
use Multiple\Helpers\Helpers as Helper;
 
 
class IndexController extends Controller {
 
 
  public function loadmorestories($offset,$categoria=false){
 
    $offset = $offset*2;
    $materia = $this->materiasAction('*',false,false,false,2,false,$offset,$categoria,'-post_tipo_s:Look');
 
    if ($materia["Error"]){  return;  }
 
    $viewmateria = $this->view->getPartial("blocos/storie",[
                      "storiesgrande"=> $materia
                    ]);
 
    return $viewmateria;
  }
 
  public function indexAction(){
 
 
    $frontCache = new FrontData([
      "lifetime" => 3600,
    ]);
 
    $cache = new BackFile($frontCache,[
      "cacheDir" => APPLICATION_PATH . "/cache/",
    ]);
 
    $cachehome = $cache->get("home");
    if ($cachehome === null) {
 
      $cachehome = $this->dados();
      $cache->save("home", $cachehome);
    }
 
    $this->view->dados = $cachehome;
 
    $this->view->likes = array_filter(unserialize($this->cookies->get("likes")->getValue()));
    $this->view->page   = $this->dispatcher->getParam("page");
    $this->view->url    = $this->helper->url(false);
 
    $this->view->render("index","index");
  }
 
  public function categoriaAction($slug=false)
  {
    if(!$slug){ return; }
 
    $helper = new Helper();
 
    $client = $helper->solrConnect('categorias');
 
    $query = new \SolrQuery();
 
    $query->setQuery('*');
    $query->addFilterQuery("categoria_status_i:1");
    $query->addFilterQuery("categoria_nomeseo_s:".$slug);
    $query->setRows(1);
 
    $response = $client->query($query)->getResponse();
 
    $categorias = $response->response->docs;
 
    if (!$categorias){
      return array("Error"=>"Nenhum banner encontrado");
    }
 
    return $categorias;
 
  }
 
  public function ordemAction($slug=false)
  {
    if(!$slug){ return; }
 
    $helper = new Helper();
 
    $client = $helper->solrConnect('ordenar');
 
    $query = new \SolrQuery();
 
    $query->setQuery('*');
    $query->addFilterQuery("ordenar_pagina_s:".$slug);
    $query->addSortField("ordenar_ordem_i",0);
    $query->setRows(9999);
 
    $response = $client->query($query)->getResponse();
 
    $ordem = $response->response->docs;
 
    if (!$ordem){
      return array("Error"=>"Nenhuma ordem encontrado");
    }
 
    return $ordem;
 
  }
 
  public function bannersAction($tipo=3){
    $helper = new Helper();
 
    $client = $helper->solrConnect('banners');
 
    $query = new \SolrQuery();
 
    $query->setQuery('*');
    $query->addFilterQuery('banner_inicio_dt:[* TO NOW]');
    $query->addFilterQuery('banner_termino_dt:[NOW TO *]');
    $query->addFilterQuery('banner_tipo_s:'.$tipo);
    $query->addFilterQuery('banner_status_s:1');
    $query->addSortField("banner_ordem_i",0);
    $query->addParam("NOW", (round(microtime(true) * 1000) - 10800000));
    $query->setRows(9999);
 
    $response = $client->query($query)->getResponse();
 
    $banners = $response->response->docs;
 
    if (!$banners){
      return array("Error"=>"Nenhum banner encontrado");
    }
 
    return $banners;
  }
 
  public function galeriasAction($id=false,$imagem=false){
 
    $helper = new Helper();
 
    $client = $helper->solrConnect('galeriaprodutos');
 
    $request = new Request();
 
    $query = new \SolrQuery();
 
    $query->setQuery('*');
    $query->addParam("NOW", (round(microtime(true) * 1000) - 10800000));
 
    // PEGA PRODUTO QUE ESTA DISPONIVEL, NÃO FOI REMOVIDO DA VITRINE E COM IMAGEM
    $query->addFilterQuery('produto_disponivel_i:1');
    $query->addFilterQuery('galeriaproduto_ativo_i:1');
    if($imagem){
      $query->addFilterQuery("(produto_imagem_link_sm:* OR produto_imagem_linkexterno_sm:*)");
    }else{
      $query->addFilterQuery("produto_imagem_link_sm:*");
    }
 
    $query->addSortField("galeriaproduto_ordem_i",0);
 
    if ($id){
      $query->addFilterQuery('galeriaproduto_postid_i:'.$id);
    }
    else if ($request->get("postid")){
      $query->addFilterQuery('galeriaproduto_postid_i:'.$request->get("postid"));
    }
    else if ($request->get("galeriaid")){
      $query->addFilterQuery('galeriaproduto_galeriaid_s:'.$request->get("galeriaid"));
    }
 
    $query->setRows(90);
 
    $response = $client->query($query)->getResponse();
 
    $galerias = $response->response->docs;
 
    if (!$galerias){
      return array("Error"=>"Nenhuma galeria encontrada");
    }
 
    return $galerias;
  }
 
  public function materiasAction($tipo="*",$tag=false,$grande=false,$produtos=false,$limit=9999,$termo=false,$offset=false,$categoria=false,$extraFilter = false){
 
    $helper = new Helper();
 
    $client = $helper->solrConnect('posts');
 
    $request = new Request();
 
    $query = new \SolrQuery();
 
    if ($termo){
      $query->setQuery("post_nome_poss:".$termo);
    }
    else{
      $query->setQuery("*");
    }
 
    $query->addParam("NOW", (round(microtime(true) * 1000) - 10800000));
 
    if ($categoria){
      $query->addFilterQuery('categoriapost_nomeseo_sm:'.$categoria);
    }
    if ($tag){
      $query->addFilterQuery('tag_nomeseo_sm:'.$tag);
    }
 
    $query->addSortField("post_agendamento_dt",1);
 
    $query->addFilterQuery('post_tipo_s:'.$tipo);
    $query->addFilterQuery('post_status_i:1');
    $query->addFilterQuery('-post_status_i:9');
    $query->addFilterQuery('-categoriapost_nome_sm:hide');
    $query->addFilterQuery('post_agendamento_dt:[* TO NOW]');
    if($extraFilter){
      $query->addFilterQuery($extraFilter);
    }
 
    if(!$termo){
      if ($grande){
        $query->addFilterQuery('post_imgcapa_grande_s:*');
      }
      else
      {
        $query->addFilterQuery('post_imgcapa_pequena_s:*');
      }
    }
 
 
    $query->setRows($limit);
 
    if($offset){
      $query->setStart($offset);
    }
 
    $response = $client->query($query)->getResponse();
 
    $materias = $response->response->docs;
 
    if (!$materias){
      return array("Error"=>"Nenhuma matéria encontrada");
    }
 
    if ($produtos){
      $matsprods = [];
      $cont = 0;
      foreach($materias as $materia){
 
        $gal = $this->galeriasAction($materia->id);
        if (!$gal["Error"]){
          $matsprods[$cont]["produtos"]   = $gal;
          $matsprods[$cont]["materia"]   = $materia;
 
        }
 
        $cont++;
      }
 
      return $matsprods;
    }
    else{
      return $materias;
    }
  }
 
  public function dados(){
    $index = [];
 
    $index['bannertopo']     = $this->bannersAction(3);
 
    $index["imageog"] = $this->tag->getUrlImage($index['bannertopo'][0]->banner_arquivo_s,0,'bannerhome');
 
      $index['novidades']       = $this->galeriasAction(37);  //passar o id correto do post
      $index['inspiration']    = array (
                        "tudo" => $this->materiasAction('*',false,false,false,10,false,0,false,'-post_tipo_s:Look'),
                        "moda" => $this->materiasAction('*',false,false,false,10,false,false,'moda','-post_tipo_s:Look'),
                        "beleza" => $this->materiasAction('*',false,false,false,10,false,false,'beleza','-post_tipo_s:Look'),
                        "decoracao" => $this->materiasAction('*',false,false,false,10,false,false,'decoracao','-post_tipo_s:Look'),
                        "lifestyle" => $this->materiasAction('*',false,false,false,10,false,false,'lifestyle','-post_tipo_s:Look'),
                        );
      $index['inspirationgrande']  = $this->materiasAction('*',false,false,false,4,false,4,false,'-post_tipo_s:Look');
      $index['TrendIn']      = $this->materiasAction("TrendIn",false,false,true,1);
      $index['looks']        = $this->materiasAction("Look",false,true);
      $index['logos']        = $this->bannersAction(4);
      $index['vitrine']      = $this->materiasAction("Vitrine",false,true);
      $index['vitrinetematica']  = $this->materiasAction("Vitrine",false,true,true);
      $index['mood']        = $this->materiasAction("Mood",false,true,false,1);
      $index['promobanner']     = $this->bannersAction(6);
      $index['categorias']      = array(
                          array($this->categoriaAction("moda/sapatos")),
                          array($this->categoriaAction("casa/decoracao/muranos")),
                          array($this->categoriaAction("moda/roupas/vestidos")),
                          array($this->categoriaAction("beauty")),
                          array($this->categoriaAction("casa/moveis"))
                        );
 
 
      $index["ordem"]        = $this->ordemAction("index");
 
      $index['footertopcategorias']  = $this->helper->footer(8);
 
      $index['footermarcas']  = $this->helper->footer(9);
 
      $index['footerlojas']  = $this->helper->footer(10);
 
      $index['novaslojasmarcas']      = $this->helper->footer(7);
 
      return $index;
    }
}
#1Multiple\Frontend\Controllers\IndexController->materiasAction()
/var/www/iLove2.0/apps/frontend/controllers/ProdutoController.php (44)
<?php
namespace Multiple\Frontend\Controllers;
 
use Phalcon\Mvc\Controller;
use Phalcon\Http\Request;
use Multiple\Api\Models\Produtos;
use Multiple\Frontend\Controllers\IndexController as IndexActions;
 
class ProdutoController extends Controller
{
  public function indexAction(){
 
    //footer
      $this->view->dados = array (
      'novaslojasmarcas'     => $this->helper->footer(7),
      'footertopcategorias'  => $this->helper->footer(8),
      'footermarcas'      => $this->helper->footer(9),
      'footerlojas'      => $this->helper->footer(10)
    );
 
    $id = $this->dispatcher->getParam("id");
    $slug  = $this->helper->slugify($this->dispatcher->getParam("nome"));
 
    $this->view->produto =  $this->produto($id,false,1,false,$slug)[0];
    $this->view->cupom = $this->cupom($this->view->produto);
    $this->view->url    = $this->helper->url(false);
    $this->view->titulo = $this->view->produto->produto_nome_s;
 
    $this->view->coresprod = $this->coresprodutos($this->view->produto);
 
    $this->view->relacionados = $this->relacionados($this->view->produto);
 
    //Visitados
    $this->viewProd($id);
 
    $this->view->visitados = $this->visitados($id);
 
    $this->view->likes = array_filter(unserialize($this->cookies->get("likes")->getValue()));
 
    $index = new IndexActions();
 
    $this->view->breads = $this->breadcrumb($this->view->produto);
 
    $this->view->inspiration =   array (  "tudo" => $index->materiasAction() );
 
 
    // $this->view->likes = array_filter(unserialize($this->cookies->get("likes")->getValue()));
    // $this->view->render("index","index");
  }
 
  public function visitados($id){
    $visitados = unserialize($this->cookies->get("visitados")->getValue());
    $visit = array();
 
    $visitados = array_unique($visitados);
 
    foreach ($visitados as $visitado){
      if ($visitado!=$id){
        $prodvisi = $this->produto($visitado,false,1,false)[0];
        if($prodvisi){
          array_push($visit,$prodvisi);
        }
      }
    }
 
 
    return array_reverse($visit);
  }
  function OrdenarMaiorValor($a,$b){
      return strlen($b)-strlen($a);
  }
 
  public function breadcrumb($produto){
    return array(
        array(
          "categoria"  =>"Lojas",
          "seo"    => "lojas"
        ),
        array(
          "categoria"  => $this->helper->capitalizar($produto->parceiro_nome_s),
          "seo"    => "loja/".$produto->parceiro_nomeseo_s
        ),
        array(
          "categoria"  => $this->helper->capitalizar($produto->produto_marca_s),
          "seo"    => $produto->produto_marcaseo_s
        ),
        array(
          "categoria"  => $this->helper->capitalizar($produto->produto_nome_s),
          "seo"    => ""
        )
      );
  }
 
 
 
  public function relacionados($produto){
 
    $client = $this->helper->solrConnect('produtos');
 
    $query = new \SolrQuery();
 
    $catsseo = $produto->produto_categoria_nomeseo_sm;
 
    usort($catsseo,'sort');
 
    if ($produto->produto_precofinal_f<1000){
      $valorminimo = $produto->produto_precofinal_f-100;
      $valormaximo = $produto->produto_precofinal_f+100;
    }
 
    if ($valormaximo){
      $query->addFilterQuery('produto_precofinal_f:[* TO '. $valormaximo. ']');
      $query->addFilterQuery('produto_precofinal_f:['. $valorminimo. ' TO *]');
    }
 
 
    $query->setQuery(
      "((produto_imagem_linkexterno_sm:* OR produto_imagem_link_sm:* ) AND produto_disponivel_i:1) AND ".
 
 
      "(".
 
        "(".
 
          "produto_marcaseo_s:".$produto->produto_marcaseo_s."^10".
          ($catsseo[0] ? "AND produto_categoria_nomeseo_sm:".$catsseo[0]."^10" : "" ).
 
        " ) OR ( " .
 
          "produto_marcaseo_s:".$produto->produto_marcaseo_s."^10".
          ($catsseo[1] ? " AND produto_categoria_nomeseo_sm:".$catsseo[1]."^9 " : "") .
          " AND parceiro_nomeseo_s:".$produto->parceiro_nomeseo_s."^8 ".
        ")".
 
 
      ")"
    );
 
    $query->addSortField("score desc, random_".date("W"),0);
 
    $query->addFilterQuery("-produto_id_i:".$produto->produto_id_i);
 
    $query->setRows(12);
 
    $response = $client->query($query)->getResponse();
 
    $prod = $response->response->docs;
 
    $qtd = $response->response->numFound;
 
    if (!$prod){
      return;
    }
 
    return array("produtos"=>$prod,"qtdprod"=>$qtd);
  }
 
  public function viewProd($id){
    $produto = Produtos::findFirst($id);
    if(!$produto){ return false;}
 
    $produto->produto_alteracao = date("Y-m-d H:i:s");
    $produto->produto_views = $produto->produto_views+1;
    $produto->save();
 
 
    $cookie = unserialize($this->cookies->get("visitados")->getValue());
 
    if (!$cookie){
      $cookie = [];
    }
 
    if (!in_array($id,$cookie)){
      array_push($cookie,$id);
    }
 
    $this->cookies->set(
            "visitados",
            serialize($cookie),
            time() + 15 * 86400
        );
 
  }
 
 
  public function produto($id=false,$groupid=false,$rows=1,$debug=false,$slug=false){
 
    $client = $this->helper->solrConnect('produtos');
 
    $query = new \SolrQuery();
 
//    $query->setQuery('produto_id_i:'.$id);
 
    if ($id ){
      $query->setQuery("produto_id_i:".$id);
    }
 
    if ($groupid){
      $query->setQuery("produto_groupid_s:".$groupid);
    }
 
    $query->addFilterQuery("(produto_imagem_linkexterno_sm:* OR produto_imagem_link_sm:* )");
 
    $query->setRows($rows);
 
    $response = $client->query($query)->getResponse();
 
    if ($debug)
    {
      return $response;
    }
    $prod = $response->response->docs;
 
    if (!$prod){
      return;
    }
 
    return $prod;
 
 
  }
 
  public function coresProdutos($produto){
 
    $coresProd = $this->produto(false,$produto[0]->produto_groupid_s,99);
 
 
    $corp = array();
 
    foreach ($coresProd as $corprod){
      foreach ($corprod->produto_cor_sm as $cor){
        $corp[$cont]["cor"] = $cor;
        $corp[$cont]["link"] = "/produto/".$corprod->parceiro_nomeseo_s . "/". $corprod->produto_marcaseo_s . "/" . $corprod->produto_nomeseo_s . "/" . $corprod->produto_id_i;
 
        $cont++;
      }
    }
 
    return $corp;
  }
  public function cupom($produto){
 
    $client = $this->helper->solrConnect('cupons');
 
    $request = new Request();
    $query = new \SolrQuery();
 
 
    $query->setQuery('parceiro_nomeseo_s:'.$produto->parceiro_nomeseo_s);
    $currentDate =  time();
    $now =  strtotime(date("Y-m-d H:i:s", $currentDate) . " +3 hours") . "000";
 
    $query->addParam("NOW", (round(microtime(true) * 1000) + 10800000));
 
    $query->addFilterQuery("parceirocupom_textoproduto_s:*");
    $query->addFilterQuery("parceirocupom_ativo_i:1");
    $query->addFilterQuery('parceirocupom_inicio_dt:[* TO NOW]');
    $query->addFilterQuery('parceirocupom_termino_dt:[NOW TO *]');
    $query->addSortField('parceirocupom_ordem_i', 0);
    $query->setRows(1);
 
    $response = $client->query($query)->getResponse();
 
    $cupom = $response->response->docs;
 
 
    return $cupom[0]->parceirocupom_textoproduto_s;
 
  }
 
 
}
#2Multiple\Frontend\Controllers\ProdutoController->indexAction(produto, produto, tenis-infantil-1600--azul-e-vermelho, 1479621)
#3Phalcon\Dispatcher->callActionMethod(Object(Multiple\Frontend\Controllers\ProdutoController), indexAction, Array([page] => produto, [nomeseo] => produto, [nome] => tenis-infantil-1600--azul-e-vermelho, [id] => 1479621))
#4Phalcon\Dispatcher->_dispatch()
#5Phalcon\Dispatcher->dispatch()
#6Phalcon\Mvc\Application->handle()
/var/www/iLove2.0/public/index.php (456)
<?php
 
error_reporting(E_ALL);
 
$debug = new \Phalcon\Debug();
$debug->listen();
 
use Phalcon\Loader;
use Phalcon\Mvc\Router;
use Phalcon\DI\FactoryDefault;
use Phalcon\Mvc\Application as BaseApplication;
 
define('APPLICATION_PATH', __DIR__ . '/../apps');
define('PUBLIC_PATH', __DIR__ );
define('XML_FOLDER', PUBLIC_PATH . '/xml/');
define('LOGS_FOLDER', __DIR__ . '/../logs/');
define('IMAGES_FOLDER', __DIR__ . '/images/');
define('SOLRADDR', "localhost");
 
ini_set('memory_limit','4000M');
 
date_default_timezone_set('America/Sao_Paulo');
 
class Application extends BaseApplication
{
    /**
     * Register the services here to make them general or register in the ModuleDefinition to make them module-specific
     */
    protected function registerServices()
    {
 
        $di = new FactoryDefault();
 
        $loader = new Loader();
 
        /**
         * We're a registering a set of directories taken from the configuration file
         */
 
        $loader->registerNamespaces(
            [
               "Cocur\Slugify"    => APPLICATION_PATH . "/../vendor/slugify/src"
 
            ]
        );
 
        $loader
            ->registerDirs([__DIR__ . '/../apps/helpers/',__DIR__ . '/../apps/security/'])
            ->register();
 
        require_once APPLICATION_PATH . '/../vendor/autoload.php';
 
 
 
        // Registering a router
        $di->set('router', function () {
 
            $router = new Router(false);
 
            $router->setDefaultModule("frontend");
 
            $router->notFound(array(
              'module' => 'frontend',
              "controller" => "notfound",
              "action" => "index",
              "page"  => "404"
            ));
 
 
            //DEFAULT FRONTEND ROUTES
            // $router->add('/:controller/:action', [
            //     'module'     => 'frontend',
            //     'controller' => 1,
            //     'action'     => 2,
            // ])->setName('frontend');
 
 
            $router->add("/produto/{loja:[a-z0-9\-]+}/{marca:[a-z0-9\-]+}/{nome:[a-z0-9\-]+}/{id:[a-z0-9\-]+}",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "produto",
                "page"       => "produto",
                "nomeseo"    => "produto"
            ]);
 
            $router->add("/produto/{nome:[a-z0-9\-]+}/{id:[a-z0-9\-]+}",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "produto",
                "page"       => "produto",
                "nomeseo"    => "produto"
            ]);
 
            $router->add("/categoria/{categoria:[a-z\-_]+}",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "categoria",
                "page"       => "categoria",
                "nomeseo"    => "categoria",
                "pagina"     => "0"
            ]);
 
            $router->add("/categoria/{categoria:[a-z\-]+}/{categoria2:[a-z\-_]+}",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "categoria",
                "page"       => "categoria",
                "nomeseo"    => "categoria"
            ]);
 
            $router->add("/categoria/{categoria:[a-z\-_]+}/{categoria2:[a-z\-_]+}/{categoria3:[a-z\-_]+}",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "categoria",
                "page"       => "categoria",
                "nomeseo"    => "categoria"
            ]);
 
            $router->add("/categoria/{categoria:[a-z\-_]+}/{categoria2:[a-z\-_]+}/{categoria3:[a-z\-_]+}/{categoria4:[a-z\-_]+}",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "categoria",
                "page"       => "categoria",
                "nomeseo"    => "categoria"
            ]);
 
            $router->add("/outlet/{categoria:[a-z\-_]+}",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "categoria",
                "page"       => "outlet",
                "nomeseo"    => "outlet",
                "pagina"     => "0"
            ]);
 
            $router->add("/outlet/{categoria:[a-z\-_]+}/{categoria2:[a-z\-_]+}",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "categoria",
                "page"       => "outlet",
                "nomeseo"    => "outlet"
            ]);
 
            $router->add("/outlet/{categoria:[a-z\-]+}/{categoria2:[a-z\-]+}/{categoria3:[a-z\-]+}",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "categoria",
                "page"       => "outlet",
                "nomeseo"    => "outlet"
            ]);
 
            $router->add("/outlet/{categoria:[a-z\-]+}/{categoria2:[a-z\-]+}/{categoria3:[a-z\-]+}/{categoria4:[a-z\-]+}",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "categoria",
                "page"       => "outlet",
                "nomeseo"    => "outlet"
            ]);
 
            $router->add("/novidades/{categoria:[a-z\-]+}",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "categoria",
                "page"       => "novidades",
                "nomeseo"    => "novidades",
                "pagina"     => "0"
            ]);
 
            $router->add("/novidades/{categoria:[a-z\-]+}/{categoria2:[a-z\-]+}",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "categoria",
                "page"       => "novidades",
                "nomeseo"    => "novidades"
            ]);
 
            $router->add("/novidades/{categoria:[a-z\-]+}/{categoria2:[a-z\-]+}/{categoria3:[a-z\-]+}",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "categoria",
                "page"       => "novidades",
                "nomeseo"    => "novidades"
            ]);
 
            $router->add("/novidades/{categoria:[a-z\-]+}/{categoria2:[a-z\-]+}/{categoria3:[a-z\-]+}/{categoria4:[a-z\-]+}",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "categoria",
                "page"       => "novidades",
                "nomeseo"    => "novidades"
            ]);
 
            $router->add("/loja/{loja}",[
                "module"     => "frontend",
                "controller" => "categoria",
                "action"     => "index",
                "page"       => "loja",
                "nomeseo"    => "loja",
                "lojas"      => 1,
                "pagina"     => "0",
 
            ])->setName("frontend-loja");
 
            $router->add("/loja/{loja}/{pagina}",[
                "module"     => "frontend",
                "controller" => "categoria",
                "action"     => "index",
                "page"       => "loja",
                "nomeseo"    => "loja",
                "lojas"      => 1,
                "pagina"     => 2,
 
            ])->setName("frontend-loja-pagina");
 
 
            $router->add("/",[
                "module"     => "frontend",
                "controller" => "index",
                "action"     => "index",
                "page"       => "home",
                "nomeseo"    => "home"
            ])->setName("frontend-home");
 
            $router->add("/([a-z0-9\-]+)",[
                "module"     => "frontend",
                "controller" => "categoria",
                "action"     => "index",
                "page"       => "marca",
                "nomeseo"    => "marca",
                "marcas"  => 1
            ])->setName("frontend-marca");
 
 
            $router->add("/busca",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "busca",
                "page"       => "busca",
                "nomeseo"    => "busca",
                "pagina"     => "0",
            ]);
 
             $router->add("/buscaFoward",[
                "action"     => "buscaFoward",
                "module"     => "frontend",
                "controller" => "busca",
                "page"       => "busca",
                "nomeseo"    => "busca",
                "pagina"     => "0",
            ]);
 
            $router->add("/sobre-nos",[
                "module"     => "frontend",
                "controller" => "welcome",
                "action"     => "index",
            ])->setName("frontend-home");
 
            $router->add("/not-found",[
                "module"     => "frontend",
                "controller" => "Notfound",
                "action"     => "index",
            ])->setName("frontend-notFound");
 
            $router->add("/marcas",[
                "module"     => "frontend",
                "controller" => "lojasmarcas",
                "action"     => "index",
                "page"       => "marcas",
                "nomeseo"    => "marcas"
            ])->setName("frontend-marcas");
 
            $router->add("/lojas",[
                "module"     => "frontend",
                "controller" => "lojasmarcas",
                "action"     => "index",
                "page"       => "lojas",
                "nomeseo"    => "lojas"
            ])->setName("frontend-lojas");
 
            $router->add("/cupom",[
                "module"     => "frontend",
                "controller" => "Cupom",
                "action"     => "index",
                "page"       => "cupons",
            ])->setName("frontend-cupom");
 
            $router->add("/cupom/{parceiro}",[
                "module"     => "frontend",
                "controller" => "Cupom",
                "action"     => "interno",
                "parceiro"   => 1,
                "page"       => "cupom",
            ])->setName("frontend-cupom-interno");
 
            $router->add("/vitrine/{slug}",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "conteudo",
                "page"       => "vitrine",
                "nomeseo"    => "vitrine",
                "tipo"       => 1,
                "slug"       => 2
            ]);
 
            $router->add("/materia/{slug}",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "conteudo",
                "page"       => "materia",
                "nomeseo"    => "materia",
                "tipo"       => 1,
                "slug"       => 2
            ]);
 
            $router->add("/looks",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "conteudo",
                "page"       => "looks",
                "nomeseo"    => "looks",
                "pagina"     => "0"
            ]);
 
            $router->add("/materias",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "conteudo",
                "page"       => "materias",
                "nomeseo"    => "materias",
                "pagina"     => "0"
            ]);
 
            $router->add("/vitrines",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "conteudo",
                "page"       => "vitrines",
                "nomeseo"    => "vitrines",
                "pagina"     => "0"
            ]);
 
            $router->add("/moods",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "conteudo",
                "page"       => "moods",
                "nomeseo"    => "moods",
                "pagina"     => "0"
            ]);
 
             $router->add("/look/{slug}",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "conteudo",
                "page"       => "look",
                "nomeseo"    => "look",
                "tipo"       => 1,
                "slug"       => 2
            ]);
 
             $router->add("/mood/{slug}",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "conteudo",
                "page"       => "mood",
                "nomeseo"    => "mood",
                "tipo"       => 1,
                "slug"       => 2
            ]);
 
            $router->add("/termos-de-uso",[
                "module"     => "frontend",
                "controller" => "politicas",
                "action"     => "index",
                "parceiro"   => 1
            ])->setName("frontend-cupom-interno");
 
            $router->add("/tags",[
                "module"     => "frontend",
                "controller" => "tags",
                "action"     => "index",
                "page"       => "tags",
                "nomeseo"    => "tags"
            ])->setName("frontend-tags");
 
 
            //API ROUTES
            $router->add("/api/:controller/:action/:params", [
                'module'     => 'api',
                'controller' => 1,
                'action'     => 2,
                'params'     => 3,
            ])->setName('api');
 
            $router->add("/api/:controller", [
                'module'     => 'api',
                'controller' => 1,
                'action'     => 'index',
            ])->setName('api');
 
            $router->add("/api", [
                'module'     => 'api',
                'controller' => 'index',
                'action'     => 'index',
            ])->setName('api');
 
 
            //BACKEND ROUTES
            $router->add("/backend/:controller/:action/:params", [
                'module'     => 'backend',
                'controller' => 1,
                'action'     => 2,
                'params'     => 3
            ])->setName('backend');
 
            $router->add("/backend/:controller", [
                'module'     => 'backend',
                'controller' => 1,
                'action'     => 'index',
 
            ])->setName('backend');
 
            $router->add("/backend", [
                'module'     => 'backend',
                'controller' => 'index',
                'action'     => 'index',
            ])->setName('backend');
 
            return $router;
        });
 
        $this->setDI($di);
    }
 
    public function main()
    {
 
        $this->registerServices();
 
        // Register the installed modules
        $this->registerModules([
            'frontend' => [
                'className' => 'Multiple\Frontend\Module',
                'path'      => '../apps/frontend/Module.php'
            ],
            'backend'  => [
                'className' => 'Multiple\Backend\Module',
                'path'      => '../apps/backend/Module.php'
            ],
            'api'  => [
                'className' => 'Multiple\api\Module',
                'path'      => '../apps/api/Module.php'
            ]
        ]);
 
        echo $this->handle()->getContent();
    }
}
 
$application = new Application();
$application->main();
#7Application->main()
/var/www/iLove2.0/public/index.php (461)
<?php
 
error_reporting(E_ALL);
 
$debug = new \Phalcon\Debug();
$debug->listen();
 
use Phalcon\Loader;
use Phalcon\Mvc\Router;
use Phalcon\DI\FactoryDefault;
use Phalcon\Mvc\Application as BaseApplication;
 
define('APPLICATION_PATH', __DIR__ . '/../apps');
define('PUBLIC_PATH', __DIR__ );
define('XML_FOLDER', PUBLIC_PATH . '/xml/');
define('LOGS_FOLDER', __DIR__ . '/../logs/');
define('IMAGES_FOLDER', __DIR__ . '/images/');
define('SOLRADDR', "localhost");
 
ini_set('memory_limit','4000M');
 
date_default_timezone_set('America/Sao_Paulo');
 
class Application extends BaseApplication
{
    /**
     * Register the services here to make them general or register in the ModuleDefinition to make them module-specific
     */
    protected function registerServices()
    {
 
        $di = new FactoryDefault();
 
        $loader = new Loader();
 
        /**
         * We're a registering a set of directories taken from the configuration file
         */
 
        $loader->registerNamespaces(
            [
               "Cocur\Slugify"    => APPLICATION_PATH . "/../vendor/slugify/src"
 
            ]
        );
 
        $loader
            ->registerDirs([__DIR__ . '/../apps/helpers/',__DIR__ . '/../apps/security/'])
            ->register();
 
        require_once APPLICATION_PATH . '/../vendor/autoload.php';
 
 
 
        // Registering a router
        $di->set('router', function () {
 
            $router = new Router(false);
 
            $router->setDefaultModule("frontend");
 
            $router->notFound(array(
              'module' => 'frontend',
              "controller" => "notfound",
              "action" => "index",
              "page"  => "404"
            ));
 
 
            //DEFAULT FRONTEND ROUTES
            // $router->add('/:controller/:action', [
            //     'module'     => 'frontend',
            //     'controller' => 1,
            //     'action'     => 2,
            // ])->setName('frontend');
 
 
            $router->add("/produto/{loja:[a-z0-9\-]+}/{marca:[a-z0-9\-]+}/{nome:[a-z0-9\-]+}/{id:[a-z0-9\-]+}",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "produto",
                "page"       => "produto",
                "nomeseo"    => "produto"
            ]);
 
            $router->add("/produto/{nome:[a-z0-9\-]+}/{id:[a-z0-9\-]+}",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "produto",
                "page"       => "produto",
                "nomeseo"    => "produto"
            ]);
 
            $router->add("/categoria/{categoria:[a-z\-_]+}",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "categoria",
                "page"       => "categoria",
                "nomeseo"    => "categoria",
                "pagina"     => "0"
            ]);
 
            $router->add("/categoria/{categoria:[a-z\-]+}/{categoria2:[a-z\-_]+}",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "categoria",
                "page"       => "categoria",
                "nomeseo"    => "categoria"
            ]);
 
            $router->add("/categoria/{categoria:[a-z\-_]+}/{categoria2:[a-z\-_]+}/{categoria3:[a-z\-_]+}",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "categoria",
                "page"       => "categoria",
                "nomeseo"    => "categoria"
            ]);
 
            $router->add("/categoria/{categoria:[a-z\-_]+}/{categoria2:[a-z\-_]+}/{categoria3:[a-z\-_]+}/{categoria4:[a-z\-_]+}",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "categoria",
                "page"       => "categoria",
                "nomeseo"    => "categoria"
            ]);
 
            $router->add("/outlet/{categoria:[a-z\-_]+}",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "categoria",
                "page"       => "outlet",
                "nomeseo"    => "outlet",
                "pagina"     => "0"
            ]);
 
            $router->add("/outlet/{categoria:[a-z\-_]+}/{categoria2:[a-z\-_]+}",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "categoria",
                "page"       => "outlet",
                "nomeseo"    => "outlet"
            ]);
 
            $router->add("/outlet/{categoria:[a-z\-]+}/{categoria2:[a-z\-]+}/{categoria3:[a-z\-]+}",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "categoria",
                "page"       => "outlet",
                "nomeseo"    => "outlet"
            ]);
 
            $router->add("/outlet/{categoria:[a-z\-]+}/{categoria2:[a-z\-]+}/{categoria3:[a-z\-]+}/{categoria4:[a-z\-]+}",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "categoria",
                "page"       => "outlet",
                "nomeseo"    => "outlet"
            ]);
 
            $router->add("/novidades/{categoria:[a-z\-]+}",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "categoria",
                "page"       => "novidades",
                "nomeseo"    => "novidades",
                "pagina"     => "0"
            ]);
 
            $router->add("/novidades/{categoria:[a-z\-]+}/{categoria2:[a-z\-]+}",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "categoria",
                "page"       => "novidades",
                "nomeseo"    => "novidades"
            ]);
 
            $router->add("/novidades/{categoria:[a-z\-]+}/{categoria2:[a-z\-]+}/{categoria3:[a-z\-]+}",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "categoria",
                "page"       => "novidades",
                "nomeseo"    => "novidades"
            ]);
 
            $router->add("/novidades/{categoria:[a-z\-]+}/{categoria2:[a-z\-]+}/{categoria3:[a-z\-]+}/{categoria4:[a-z\-]+}",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "categoria",
                "page"       => "novidades",
                "nomeseo"    => "novidades"
            ]);
 
            $router->add("/loja/{loja}",[
                "module"     => "frontend",
                "controller" => "categoria",
                "action"     => "index",
                "page"       => "loja",
                "nomeseo"    => "loja",
                "lojas"      => 1,
                "pagina"     => "0",
 
            ])->setName("frontend-loja");
 
            $router->add("/loja/{loja}/{pagina}",[
                "module"     => "frontend",
                "controller" => "categoria",
                "action"     => "index",
                "page"       => "loja",
                "nomeseo"    => "loja",
                "lojas"      => 1,
                "pagina"     => 2,
 
            ])->setName("frontend-loja-pagina");
 
 
            $router->add("/",[
                "module"     => "frontend",
                "controller" => "index",
                "action"     => "index",
                "page"       => "home",
                "nomeseo"    => "home"
            ])->setName("frontend-home");
 
            $router->add("/([a-z0-9\-]+)",[
                "module"     => "frontend",
                "controller" => "categoria",
                "action"     => "index",
                "page"       => "marca",
                "nomeseo"    => "marca",
                "marcas"  => 1
            ])->setName("frontend-marca");
 
 
            $router->add("/busca",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "busca",
                "page"       => "busca",
                "nomeseo"    => "busca",
                "pagina"     => "0",
            ]);
 
             $router->add("/buscaFoward",[
                "action"     => "buscaFoward",
                "module"     => "frontend",
                "controller" => "busca",
                "page"       => "busca",
                "nomeseo"    => "busca",
                "pagina"     => "0",
            ]);
 
            $router->add("/sobre-nos",[
                "module"     => "frontend",
                "controller" => "welcome",
                "action"     => "index",
            ])->setName("frontend-home");
 
            $router->add("/not-found",[
                "module"     => "frontend",
                "controller" => "Notfound",
                "action"     => "index",
            ])->setName("frontend-notFound");
 
            $router->add("/marcas",[
                "module"     => "frontend",
                "controller" => "lojasmarcas",
                "action"     => "index",
                "page"       => "marcas",
                "nomeseo"    => "marcas"
            ])->setName("frontend-marcas");
 
            $router->add("/lojas",[
                "module"     => "frontend",
                "controller" => "lojasmarcas",
                "action"     => "index",
                "page"       => "lojas",
                "nomeseo"    => "lojas"
            ])->setName("frontend-lojas");
 
            $router->add("/cupom",[
                "module"     => "frontend",
                "controller" => "Cupom",
                "action"     => "index",
                "page"       => "cupons",
            ])->setName("frontend-cupom");
 
            $router->add("/cupom/{parceiro}",[
                "module"     => "frontend",
                "controller" => "Cupom",
                "action"     => "interno",
                "parceiro"   => 1,
                "page"       => "cupom",
            ])->setName("frontend-cupom-interno");
 
            $router->add("/vitrine/{slug}",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "conteudo",
                "page"       => "vitrine",
                "nomeseo"    => "vitrine",
                "tipo"       => 1,
                "slug"       => 2
            ]);
 
            $router->add("/materia/{slug}",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "conteudo",
                "page"       => "materia",
                "nomeseo"    => "materia",
                "tipo"       => 1,
                "slug"       => 2
            ]);
 
            $router->add("/looks",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "conteudo",
                "page"       => "looks",
                "nomeseo"    => "looks",
                "pagina"     => "0"
            ]);
 
            $router->add("/materias",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "conteudo",
                "page"       => "materias",
                "nomeseo"    => "materias",
                "pagina"     => "0"
            ]);
 
            $router->add("/vitrines",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "conteudo",
                "page"       => "vitrines",
                "nomeseo"    => "vitrines",
                "pagina"     => "0"
            ]);
 
            $router->add("/moods",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "conteudo",
                "page"       => "moods",
                "nomeseo"    => "moods",
                "pagina"     => "0"
            ]);
 
             $router->add("/look/{slug}",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "conteudo",
                "page"       => "look",
                "nomeseo"    => "look",
                "tipo"       => 1,
                "slug"       => 2
            ]);
 
             $router->add("/mood/{slug}",[
                "action"     => "index",
                "module"     => "frontend",
                "controller" => "conteudo",
                "page"       => "mood",
                "nomeseo"    => "mood",
                "tipo"       => 1,
                "slug"       => 2
            ]);
 
            $router->add("/termos-de-uso",[
                "module"     => "frontend",
                "controller" => "politicas",
                "action"     => "index",
                "parceiro"   => 1
            ])->setName("frontend-cupom-interno");
 
            $router->add("/tags",[
                "module"     => "frontend",
                "controller" => "tags",
                "action"     => "index",
                "page"       => "tags",
                "nomeseo"    => "tags"
            ])->setName("frontend-tags");
 
 
            //API ROUTES
            $router->add("/api/:controller/:action/:params", [
                'module'     => 'api',
                'controller' => 1,
                'action'     => 2,
                'params'     => 3,
            ])->setName('api');
 
            $router->add("/api/:controller", [
                'module'     => 'api',
                'controller' => 1,
                'action'     => 'index',
            ])->setName('api');
 
            $router->add("/api", [
                'module'     => 'api',
                'controller' => 'index',
                'action'     => 'index',
            ])->setName('api');
 
 
            //BACKEND ROUTES
            $router->add("/backend/:controller/:action/:params", [
                'module'     => 'backend',
                'controller' => 1,
                'action'     => 2,
                'params'     => 3
            ])->setName('backend');
 
            $router->add("/backend/:controller", [
                'module'     => 'backend',
                'controller' => 1,
                'action'     => 'index',
 
            ])->setName('backend');
 
            $router->add("/backend", [
                'module'     => 'backend',
                'controller' => 'index',
                'action'     => 'index',
            ])->setName('backend');
 
            return $router;
        });
 
        $this->setDI($di);
    }
 
    public function main()
    {
 
        $this->registerServices();
 
        // Register the installed modules
        $this->registerModules([
            'frontend' => [
                'className' => 'Multiple\Frontend\Module',
                'path'      => '../apps/frontend/Module.php'
            ],
            'backend'  => [
                'className' => 'Multiple\Backend\Module',
                'path'      => '../apps/backend/Module.php'
            ],
            'api'  => [
                'className' => 'Multiple\api\Module',
                'path'      => '../apps/api/Module.php'
            ]
        ]);
 
        echo $this->handle()->getContent();
    }
}
 
$application = new Application();
$application->main();
KeyValue
_url/produto/tenis-infantil-1600--azul-e-vermelho/1479621
idtenis-infantil-1600--azul-e-vermelho
KeyValue
REDIRECT_UNIQUE_IDWl4wDYYm2SQQOvQ-wc7yiQAAAJw
REDIRECT_STATUS200
UNIQUE_IDWl4wDYYm2SQQOvQ-wc7yiQAAAJw
HTTP_HOSTwww.ilovee.com.br
HTTP_ACCEPT_ENCODINGx-gzip, gzip, deflate
HTTP_USER_AGENTCCBot/2.0 (http://commoncrawl.org/faq/)
HTTP_ACCEPTtext/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
SERVER_SIGNATURE
SERVER_SOFTWAREApache/2.4.6 (CentOS) PHP/7.0.22
SERVER_NAMEwww.ilovee.com.br
SERVER_ADDR169.63.72.146
SERVER_PORT80
REMOTE_ADDR54.234.190.237
DOCUMENT_ROOT/var/www/iLove2.0/public
REQUEST_SCHEMEhttp
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT/var/www/iLove2.0/public
SERVER_ADMINwebmaster@localhost
SCRIPT_FILENAME/var/www/iLove2.0/public/index.php
REMOTE_PORT56168
REDIRECT_QUERY_STRING_url=/produto/tenis-infantil-1600--azul-e-vermelho/1479621&id=tenis-infantil-1600--azul-e-vermelho
REDIRECT_URL/produto/tenis-infantil-1600--azul-e-vermelho/1479621
GATEWAY_INTERFACECGI/1.1
SERVER_PROTOCOLHTTP/1.0
REQUEST_METHODGET
QUERY_STRING_url=/produto/tenis-infantil-1600--azul-e-vermelho/1479621&id=tenis-infantil-1600--azul-e-vermelho
REQUEST_URI/produto/tenis-infantil-1600--azul-e-vermelho/1479621?id=tenis-infantil-1600--azul-e-vermelho
SCRIPT_NAME/index.php
PHP_SELF/index.php
REQUEST_TIME_FLOAT1516122125.027
REQUEST_TIME1516122125
#Path
0/var/www/iLove2.0/public/index.php
1/var/www/iLove2.0/vendor/autoload.php
2/var/www/iLove2.0/vendor/composer/autoload_real.php
3/var/www/iLove2.0/vendor/composer/ClassLoader.php
4/var/www/iLove2.0/vendor/composer/autoload_static.php
5/var/www/iLove2.0/vendor/guzzlehttp/psr7/src/functions_include.php
6/var/www/iLove2.0/vendor/guzzlehttp/psr7/src/functions.php
7/var/www/iLove2.0/vendor/league/uri-parser/src/functions_include.php
8/var/www/iLove2.0/vendor/league/uri-parser/src/functions.php
9/var/www/iLove2.0/vendor/league/uri-hostname-parser/src/functions_include.php
10/var/www/iLove2.0/vendor/league/uri-hostname-parser/src/functions.php
11/var/www/iLove2.0/vendor/guzzlehttp/promises/src/functions_include.php
12/var/www/iLove2.0/vendor/guzzlehttp/promises/src/functions.php
13/var/www/iLove2.0/vendor/league/uri-schemes/src/functions_include.php
14/var/www/iLove2.0/vendor/league/uri-schemes/src/functions.php
15/var/www/iLove2.0/vendor/league/uri-schemes/src/Schemes/deprecated.php
16/var/www/iLove2.0/vendor/league/uri-schemes/src/AbstractUri.php
17/var/www/iLove2.0/vendor/league/uri-interfaces/src/Uri.php
18/var/www/iLove2.0/vendor/league/uri-schemes/src/Data.php
19/var/www/iLove2.0/vendor/league/uri-schemes/src/File.php
20/var/www/iLove2.0/vendor/league/uri-schemes/src/Ftp.php
21/var/www/iLove2.0/vendor/league/uri-schemes/src/Http.php
22/var/www/iLove2.0/vendor/psr/http-message/src/UriInterface.php
23/var/www/iLove2.0/vendor/league/uri-schemes/src/Uri.php
24/var/www/iLove2.0/vendor/league/uri-schemes/src/UriException.php
25/var/www/iLove2.0/vendor/league/uri-parser/src/Exception.php
26/var/www/iLove2.0/vendor/league/uri-schemes/src/Ws.php
27/var/www/iLove2.0/vendor/league/uri-components/src/functions_include.php
28/var/www/iLove2.0/vendor/league/uri-components/src/functions.php
29/var/www/iLove2.0/vendor/mtdowling/jmespath.php/src/JmesPath.php
30/var/www/iLove2.0/vendor/guzzlehttp/guzzle/src/functions_include.php
31/var/www/iLove2.0/vendor/guzzlehttp/guzzle/src/functions.php
32/var/www/iLove2.0/vendor/swiftmailer/swiftmailer/lib/swift_required.php
33/var/www/iLove2.0/vendor/swiftmailer/swiftmailer/lib/classes/Swift.php
34/var/www/iLove2.0/vendor/league/uri-manipulations/src/functions_include.php
35/var/www/iLove2.0/vendor/league/uri-manipulations/src/Modifiers/functions.php
36/var/www/iLove2.0/vendor/league/uri-manipulations/src/functions.php
37/var/www/iLove2.0/vendor/aws/aws-sdk-php/src/functions.php
38/var/www/iLove2.0/apps/frontend/Module.php
39/var/www/iLove2.0/apps/frontend/controllers/ProdutoController.php
40/var/www/iLove2.0/apps/helpers/Helpers.php
41/var/www/iLove2.0/vendor/mobiledetect/mobiledetectlib/namespaced/Detection/MobileDetect.php
42/var/www/iLove2.0/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php
43/var/www/iLove2.0/apps/frontend/controllers/IndexController.php
44/var/www/iLove2.0/vendor/cocur/slugify/src/Slugify.php
45/var/www/iLove2.0/vendor/cocur/slugify/src/SlugifyInterface.php
46/var/www/iLove2.0/vendor/cocur/slugify/src/RuleProvider/DefaultRuleProvider.php
47/var/www/iLove2.0/vendor/cocur/slugify/src/RuleProvider/RuleProviderInterface.php
48/var/www/iLove2.0/apps/api/models/Produtos.php
Memory
Usage2097152