->with('stockdata', $stockdata); } public function event_photo_view($id){ $title=Events::find($id); $data=Photos::where('event_id',$id)->get(); $page_title=$title->eventtittle; return View::make('front.event_photo_view_duplicate') ->with('title',$title)
->with('stockdata', $stockdata); } public function event_photo_view($id){ $title=Events::find($id); $data=Photos::where('event_id',$id)->get(); $page_title=$title->eventtittle; return View::make('front.event_photo_view_duplicate') ->with('title',$title)
* @param array $parameters * @return \Symfony\Component\HttpFoundation\Response */ public function callAction($method, $parameters) { $this->setupLayout(); $response = call_user_func_array(array($this, $method), $parameters); // If no response is returned from the controller action and a layout is being
* @param string $method * @return mixed */ protected function call($instance, $route, $method) { $parameters = $route->parametersWithoutNulls(); return $instance->callAction($method, $parameters); }
$response = $this->before($instance, $route, $request, $method); // If no before filters returned a response we'll call the method on the controller // to get the response to be returned to the router. We will then return it back // out for processing by this router and the after filters can be called then. if (is_null($response)) { $response = $this->call($instance, $route, $method); }
$request = $this->getCurrentRequest(); // Now we can split the controller and method out of the action string so that we // can call them appropriately on the class. This controller and method are in // in the Class@method format and we need to explode them out then use them. list($class, $method) = explode('@', $controller); return $d->dispatch($route, $request, $class, $method); }; }
* * @return mixed */ public function run() { $parameters = array_filter($this->parameters(), function($p) { return isset($p); }); return call_user_func_array($this->action['uses'], $parameters); }
// Once we have successfully matched the incoming request to a given route we // can call the before filters on that route. This works similar to global // filters in that if a response is returned we will not call the route. $response = $this->callRouteBefore($route, $request); if (is_null($response)) { $response = $route->run($request); }
// If no response was returned from the before filter, we will call the proper // route instance to get the response. If no route is found a response will // still get returned based on why no routes were found for this request. $response = $this->callFilter('before', $request); if (is_null($response)) { $response = $this->dispatchToRoute($request); }
} if ($this->runningUnitTests() && ! $this['session']->isStarted()) { $this['session']->start(); } return $this['router']->dispatch($this->prepareRequest($request)); }
{ try { $this->refreshRequest($request = Request::createFromBase($request)); $this->boot(); return $this->dispatch($request); } catch (\Exception $e)
if ($this->sessionConfigured()) { $session = $this->startSession($request); $request->setSession($session); } $response = $this->app->handle($request, $type, $catch); // Again, if the session has been configured we will need to close out the session
* @param \Symfony\Component\HttpFoundation\Request $request * @param int $type * @param bool $catch * @return \Symfony\Component\HttpFoundation\Response */ public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true) { $response = $this->app->handle($request, $type, $catch); foreach ($this->cookies->getQueuedCookies() as $cookie)
* @param \Symfony\Component\HttpFoundation\Request $request * @param int $type * @param bool $catch * @return \Symfony\Component\HttpFoundation\Response */ public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true) { return $this->encrypt($this->app->handle($this->decrypt($request), $type, $catch)); }
{ $this->app = $app; $this->middlewares = $middlewares; } public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true) { return $this->app->handle($request, $type, $catch); }
* @param \Symfony\Component\HttpFoundation\Request $request * @return void */ public function run(SymfonyRequest $request = null) { $request = $request ?: $this['request']; $response = with($stack = $this->getStackedClient())->handle($request); $response->send();
| Once we have the application, we can simply call the run method, | which will execute the request and send the response back to | the client's browser allowing them to enjoy the creative | and wonderful application we have whipped up for them. | */ $app->run();
Key | Value |
LSPHP_ENABLE_USER_INI | ON |
PATH | /usr/local/bin:/bin:/usr/bin |
HTTP_ACCEPT | */* |
HTTP_HOST | cms.investor.com.my |
HTTP_USER_AGENT | claudebot |
DOCUMENT_ROOT | /home/investorcom/public_html/cms/public |
REMOTE_ADDR | 3.234.212.253 |
REMOTE_PORT | 37884 |
SERVER_ADDR | 218.208.91.143 |
SERVER_NAME | cms.investor.com.my |
SERVER_ADMIN | webmaster@cms.investor.com.my |
SERVER_PORT | 80 |
REQUEST_SCHEME | http |
REQUEST_URI | /event_photo_view/9 |
REDIRECT_URL | /event_photo_view/9 |
REDIRECT_REQUEST_METHOD | GET |
REDIRECT_STATUS | 200 |
SCRIPT_FILENAME | /home/investorcom/public_html/cms/public/index.php |
QUERY_STRING | |
SCRIPT_URI | http://cms.investor.com.my/event_photo_view/9 |
SCRIPT_URL | /event_photo_view/9 |
SCRIPT_NAME | /index.php |
SERVER_PROTOCOL | HTTP/1.1 |
SERVER_SOFTWARE | LiteSpeed |
REQUEST_METHOD | GET |
X-LSCACHE | on |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711689080.1071 |
REQUEST_TIME | 1711689080 |
APP_NAME | LARAVEL |
APP_URL | http://ocklive.com/ |
BURSA_SUBDOMAIN | https://bursa.investor.com.my/ |
CHART_SUBDOMAIN | https://charts.investor.com.my/ |
MEDIANEWS_SUBDOMAIN | https://medianews.investor.com.my/ |
CMS_SUBDOMAIN | https://cms.investor.com.my/ |
INVESTOR_DOMAIN | https://investor.com.my/ |
LARAVEL_SUBDOMAIN | https://laravel.investor.com.my/ |
MAIL_MAILER | smtp |
MAIL_HOST | vm1.webqomhosting1.com |
MAIL_PORT | 465 |
MAIL_USERNAME | web88support@webqom.com |
MAIL_PASSWORD | 1256%IM~(3nm9D~@ |
MAIL_ENCRYPTION | ssl |
MAIL_FROM_ADDRESS | web88support@webqom.com |
MAIL_FROM_NAME | |
MAIL_SUBJECT | Feedback |
MAIL_MAILER_BURSA | smtp |
MAIL_HOST_BURSA | 202.75.51.72 |
MAIL_PORT_BURSA | 465 |
MAIL_USERNAME_BURSA | anand@webqom.com |
MAIL_PASSWORD_BURSA | 4458Q)eQ8d-4RAWk |
MAIL_ENCRYPTION_BURSA | ssl |
MAIL_FROM_ADDRESS_BURSA | anand@webqom.com |
MAIL_FROM_NAME_BURSA | Webqom Support |
MAIL_MAILER_CHART | smtp |
MAIL_HOST_CHART | localhost |
MAIL_PORT_CHART | 25 |
MAIL_USERNAME_CHART | laravel@ock.net.my |
MAIL_PASSWORD_CHART | admin123 |
MAIL_ENCRYPTION_CHART | tls |
MAIL_FROM_ADDRESS_CHART | laravel@ock.net.my |
MAIL_FROM_NAME_CHART | Charts Admin |
MAIL_MAILER_FAREASTHOLDING | smtp |
MAIL_HOST_FAREASTHOLDING | mail.fareastholdingsbhd.com |
MAIL_PORT_FAREASTHOLDING | 25 |
MAIL_USERNAME_FAREASTHOLDING | web88ir@fareastholdingsbhd.com |
MAIL_PASSWORD_FAREASTHOLDING | 935if)wg2mKG+Vo |
MAIL_ENCRYPTION_FAREASTHOLDING | tls |
MAIL_FROM_ADDRESS_FAREASTHOLDING | web88ir@fareastholdingsbhd.com |
MAIL_FROM_NAME_FAREASTHOLDING | |
CONNECTION_NAME | cms |
DB_CONNECTION | mysql |
DB_HOST | localhost |
DB_PORT | 3306 |
DB_DATABASE | investorcom_cms |
DB_USERNAME | investorcom_cms |
DB_PASSWORD | 1245?3^BtM52kk.Y |
CONNECTION_NAME2 | medianews |
DB_CONNECTION2 | mysql |
DB_HOST2 | localhost |
DB_PORT2 | 3306 |
DB_DATABASE2 | investorcom_ock |
DB_USERNAME2 | investorcom_connect |
DB_PASSWORD2 | 1245;#t)=]cWIGsA |
CONNECTION_NAME3 | charts |
DB_CONNECTION3 | mysql |
DB_HOST3 | localhost |
DB_PORT3 | 3306 |
DB_DATABASE3 | investorcom_chart |
DB_USERNAME3 | investorcom_chart |
DB_PASSWORD3 | 1245$z_I=*wCo5qd |
CONNECTION_NAME4 | bursa |
DB_CONNECTION4 | mysql |
DB_HOST4 | localhost |
DB_PORT4 | 3306 |
DB_DATABASE4 | investorcom_bursa |
DB_USERNAME4 | investorcom_bursa |
DB_PASSWORD4 | 1245(&;vWt;#.ENt |
CONNECTION_NAME5 | connect |
DB_CONNECTION5 | mysql |
DB_HOST5 | localhost |
DB_PORT5 | 3306 |
DB_DATABASE5 | investorcom_cms |
DB_USERNAME5 | investorcom_connect |
DB_PASSWORD5 | 1245;#t)=]cWIGsA |
CONNECTION_NAME6 | nanyang |
DB_CONNECTION6 | mysql |
DB_HOST6 | localhost |
DB_PORT6 | 3306 |
DB_DATABASE6 | investorcom_nanyang |
DB_USERNAME6 | investorcom_ock |
DB_PASSWORD6 | 1245[uk^FBu@EvA9 |
CONNECTION_NAME7 | dev |
DB_CONNECTION7 | mysql |
DB_HOST7 | localhost |
DB_PORT7 | 3306 |
DB_DATABASE7 | investorcom_dev |
DB_USERNAME7 | investorcom_dev |
DB_PASSWORD7 | 1245KksTlhaPiaC] |
CONNECTION_NAME8 | ock |
DB_CONNECTION8 | mysql |
DB_HOST8 | localhost |
DB_PORT8 | 3306 |
DB_DATABASE8 | investorcom_ock |
DB_USERNAME8 | investorcom_ock |
DB_PASSWORD8 | 1245[uk^FBu@EvA9 |
CONNECTION_NAME9 | yahoo |
DB_CONNECTION9 | mysql |
DB_HOST9 | localhost |
DB_PORT9 | 3306 |
DB_DATABASE9 | investorcom_yahoo |
DB_USERNAME9 | investorcom_ock |
DB_PASSWORD9 | 1245[uk^FBu@EvA9 |
CONNECTION_NAME10 | klsescreener_charts |
DB_CONNECTION10 | mysql |
DB_HOST10 | localhost |
DB_PORT10 | 3306 |
DB_DATABASE10 | investorcom_klsescreenercharts |
DB_USERNAME10 | investorcom_ock |
DB_PASSWORD10 | 1245[uk^FBu@EvA9 |
APP_TIMEZONE | Asia/Kuala_Lumpur |
SINGAPORE_TIMEZONE | Asia/Singapore |
UTC_TIMEZONE | UTC |
APP_LOCALE | en |
APP_KEY | BRERurLNatMfeMNZlNRSXGbiU3yqvow5 |
AWS_ACCESS_KEY_ID | |
AWS_SECRET_ACCESS_KEY | |
AWS_DEFAULT_REGION | us-east-1 |
AWS_BUCKET | |
PUSHER_APP_ID | |
PUSHER_APP_KEY | |
PUSHER_APP_SECRET | |
PUSHER_APP_CLUSTER | mt1 |
BROADCAST_DRIVER | log |
CACHE_DRIVER | file |
QUEUE_CONNECTION | sync |
SESSION_DRIVER | file |
SESSION_LIFETIME | 120 |
REDIS_HOST | 127.0.0.1 |
REDIS_PASSWORD | |
REDIS_PORT | 6379 |
Key | Value |
LSPHP_ENABLE_USER_INI | ON |
PATH | /usr/local/bin:/bin:/usr/bin |
APP_NAME | LARAVEL |
APP_URL | http://ocklive.com/ |
BURSA_SUBDOMAIN | https://bursa.investor.com.my/ |
CHART_SUBDOMAIN | https://charts.investor.com.my/ |
MEDIANEWS_SUBDOMAIN | https://medianews.investor.com.my/ |
CMS_SUBDOMAIN | https://cms.investor.com.my/ |
INVESTOR_DOMAIN | https://investor.com.my/ |
LARAVEL_SUBDOMAIN | https://laravel.investor.com.my/ |
MAIL_MAILER | smtp |
MAIL_HOST | vm1.webqomhosting1.com |
MAIL_PORT | 465 |
MAIL_USERNAME | web88support@webqom.com |
MAIL_PASSWORD | 1256%IM~(3nm9D~@ |
MAIL_ENCRYPTION | ssl |
MAIL_FROM_ADDRESS | web88support@webqom.com |
MAIL_FROM_NAME | |
MAIL_SUBJECT | Feedback |
MAIL_MAILER_BURSA | smtp |
MAIL_HOST_BURSA | 202.75.51.72 |
MAIL_PORT_BURSA | 465 |
MAIL_USERNAME_BURSA | anand@webqom.com |
MAIL_PASSWORD_BURSA | 4458Q)eQ8d-4RAWk |
MAIL_ENCRYPTION_BURSA | ssl |
MAIL_FROM_ADDRESS_BURSA | anand@webqom.com |
MAIL_FROM_NAME_BURSA | Webqom Support |
MAIL_MAILER_CHART | smtp |
MAIL_HOST_CHART | localhost |
MAIL_PORT_CHART | 25 |
MAIL_USERNAME_CHART | laravel@ock.net.my |
MAIL_PASSWORD_CHART | admin123 |
MAIL_ENCRYPTION_CHART | tls |
MAIL_FROM_ADDRESS_CHART | laravel@ock.net.my |
MAIL_FROM_NAME_CHART | Charts Admin |
MAIL_MAILER_FAREASTHOLDING | smtp |
MAIL_HOST_FAREASTHOLDING | mail.fareastholdingsbhd.com |
MAIL_PORT_FAREASTHOLDING | 25 |
MAIL_USERNAME_FAREASTHOLDING | web88ir@fareastholdingsbhd.com |
MAIL_PASSWORD_FAREASTHOLDING | 935if)wg2mKG+Vo |
MAIL_ENCRYPTION_FAREASTHOLDING | tls |
MAIL_FROM_ADDRESS_FAREASTHOLDING | web88ir@fareastholdingsbhd.com |
MAIL_FROM_NAME_FAREASTHOLDING | |
CONNECTION_NAME | cms |
DB_CONNECTION | mysql |
DB_HOST | localhost |
DB_PORT | 3306 |
DB_DATABASE | investorcom_cms |
DB_USERNAME | investorcom_cms |
DB_PASSWORD | 1245?3^BtM52kk.Y |
CONNECTION_NAME2 | medianews |
DB_CONNECTION2 | mysql |
DB_HOST2 | localhost |
DB_PORT2 | 3306 |
DB_DATABASE2 | investorcom_ock |
DB_USERNAME2 | investorcom_connect |
DB_PASSWORD2 | 1245;#t)=]cWIGsA |
CONNECTION_NAME3 | charts |
DB_CONNECTION3 | mysql |
DB_HOST3 | localhost |
DB_PORT3 | 3306 |
DB_DATABASE3 | investorcom_chart |
DB_USERNAME3 | investorcom_chart |
DB_PASSWORD3 | 1245$z_I=*wCo5qd |
CONNECTION_NAME4 | bursa |
DB_CONNECTION4 | mysql |
DB_HOST4 | localhost |
DB_PORT4 | 3306 |
DB_DATABASE4 | investorcom_bursa |
DB_USERNAME4 | investorcom_bursa |
DB_PASSWORD4 | 1245(&;vWt;#.ENt |
CONNECTION_NAME5 | connect |
DB_CONNECTION5 | mysql |
DB_HOST5 | localhost |
DB_PORT5 | 3306 |
DB_DATABASE5 | investorcom_cms |
DB_USERNAME5 | investorcom_connect |
DB_PASSWORD5 | 1245;#t)=]cWIGsA |
CONNECTION_NAME6 | nanyang |
DB_CONNECTION6 | mysql |
DB_HOST6 | localhost |
DB_PORT6 | 3306 |
DB_DATABASE6 | investorcom_nanyang |
DB_USERNAME6 | investorcom_ock |
DB_PASSWORD6 | 1245[uk^FBu@EvA9 |
CONNECTION_NAME7 | dev |
DB_CONNECTION7 | mysql |
DB_HOST7 | localhost |
DB_PORT7 | 3306 |
DB_DATABASE7 | investorcom_dev |
DB_USERNAME7 | investorcom_dev |
DB_PASSWORD7 | 1245KksTlhaPiaC] |
CONNECTION_NAME8 | ock |
DB_CONNECTION8 | mysql |
DB_HOST8 | localhost |
DB_PORT8 | 3306 |
DB_DATABASE8 | investorcom_ock |
DB_USERNAME8 | investorcom_ock |
DB_PASSWORD8 | 1245[uk^FBu@EvA9 |
CONNECTION_NAME9 | yahoo |
DB_CONNECTION9 | mysql |
DB_HOST9 | localhost |
DB_PORT9 | 3306 |
DB_DATABASE9 | investorcom_yahoo |
DB_USERNAME9 | investorcom_ock |
DB_PASSWORD9 | 1245[uk^FBu@EvA9 |
CONNECTION_NAME10 | klsescreener_charts |
DB_CONNECTION10 | mysql |
DB_HOST10 | localhost |
DB_PORT10 | 3306 |
DB_DATABASE10 | investorcom_klsescreenercharts |
DB_USERNAME10 | investorcom_ock |
DB_PASSWORD10 | 1245[uk^FBu@EvA9 |
APP_TIMEZONE | Asia/Kuala_Lumpur |
SINGAPORE_TIMEZONE | Asia/Singapore |
UTC_TIMEZONE | UTC |
APP_LOCALE | en |
APP_KEY | BRERurLNatMfeMNZlNRSXGbiU3yqvow5 |
AWS_ACCESS_KEY_ID | |
AWS_SECRET_ACCESS_KEY | |
AWS_DEFAULT_REGION | us-east-1 |
AWS_BUCKET | |
PUSHER_APP_ID | |
PUSHER_APP_KEY | |
PUSHER_APP_SECRET | |
PUSHER_APP_CLUSTER | mt1 |
BROADCAST_DRIVER | log |
CACHE_DRIVER | file |
QUEUE_CONNECTION | sync |
SESSION_DRIVER | file |
SESSION_LIFETIME | 120 |
REDIS_HOST | 127.0.0.1 |
REDIS_PASSWORD | |
REDIS_PORT | 6379 |