// Don't load all the framework if nonsense $id = $app->input->get('id', 0, 'int'); $this->tagId = $app->input->get( 'tagid', 0, 'int' ); if ($id < 1 && $this->tagId < 1) { throw new Exception(JText::_( "COM_PHOCAGALLERY_CATEGORY_IS_UNPUBLISHED" ) , 404); exit;
catch (\JCacheException $exception) { $view->display(); } } else { $view->display(); }
} $document = JFactory::getDocument(); $safeurlparams = array('catid'=>'INT','id'=>'INT','cid'=>'ARRAY','year'=>'INT','month'=>'INT','limit'=>'INT','limitstart'=>'INT', 'showall'=>'INT','return'=>'BASE64','filter'=>'STRING','filter_order'=>'CMD','filter_order_Dir'=>'CMD','filter-search'=>'STRING','print'=>'BOOLEAN','lang'=>'CMD'); parent::display($cachable,$safeurlparams); return $this;
{ throw new \Exception(\JText::sprintf('JLIB_APPLICATION_ERROR_TASK_NOT_FOUND', $task), 404); } // Record the actual task being fired $this->doTask = $doTask; return $this->$doTask(); }
} // Create the controller $app = JFactory::getApplication(); $classname = 'PhocaGalleryController'.ucfirst($controller); $controller = new $classname( ); // Perform the Request task $controller->execute(JFactory::getApplication()->input->get('task')); // Redirect if set by the controller
* @return string The component output * * @since 1.7 */ protected static function executeComponent($path) { ob_start(); require_once $path; return ob_get_clean();
// Load common and local language files. $lang->load($option, JPATH_BASE, null, false, true) || $lang->load($option, JPATH_COMPONENT, null, false, true); // Handle template preview outlining. $contents = null; // Execute the component. $contents = static::executeComponent($path); // Revert the scope
$document->setGenerator('Joomla! - Open Source Content Management - Version ' . JVERSION); } else { $document->setGenerator('Joomla! - Open Source Content Management'); } $contents = ComponentHelper::renderComponent($component); $document->setBuffer($contents, 'component');
* Before $this->route(); "option" and "view" can't be safely read using: * $this->input->getCmd('option'); or $this->input->getCmd('view'); * ex: due of the sef urls */ $this->checkUserRequireReset('com_users', 'profile', 'edit', 'com_users/profile.save,com_users/profile.apply,com_users/user.logout'); // Dispatch the application $this->dispatch(); // Mark afterDispatch in the profiler.
// Abort when there are invalid variables if ($invalidInputVariables) { throw new \RuntimeException('Invalid input, aborting application.'); } // Perform application routines. $this->doExecute(); // If we have an application document object, render it.
// Set profiler start time and memory usage and mark afterLoad in the profiler. JDEBUG ? JProfiler::getInstance('Application')->setStart($startTime, $startMem)->mark('afterLoad') : null; // Instantiate the application. $app = JFactory::getApplication('site'); // Execute the application. $app->execute();
Key | Value |
PATH | /usr/local/bin:/usr/bin:/bin |
REDIRECT_STATUS | 200 |
UNIQUE_ID | ZgaCtDSe-YJBGwPe2uVZIwAAAJQ |
GEOIP_COUNTRY_CODE | US |
GEOIP_COUNTRY_NAME | United States |
GEOIP_REGION | VA |
GEOIP_CITY | Ashburn |
GEOIP_DMA_CODE | 511 |
GEOIP_AREA_CODE | 703 |
GEOIP_LATITUDE | 39.046902 |
GEOIP_LONGITUDE | -77.490303 |
SCRIPT_URL | /galeries-photos/annees-2000/2006/soumonces-2006 |
SCRIPT_URI | https://www.gilles-commercants.be:443/galeries-photos/annees-2000/2006/soumonces-2006 |
HTTPS | on |
CFG_CLUSTER | cluster010 |
ENVIRONMENT | production |
APP_ENGINE_VERSION | 7.2 |
APP_ENGINE | phpcgi |
HTTP_HOST | www.gilles-commercants.be |
HTTP_X_PREDICTOR | 1 |
HTTP_X_FORWARDED_FOR | 44.222.186.148 |
HTTP_X_FORWARDED_PROTO | https |
HTTP_X_OVHREQUEST_ID | 3a748e59b21ef83e7b454198351aa278 |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | claudebot |
HTTP_REFERER | http://www.gilles-commercants.be/galeries-photos/annees-2000/2006/soumonces-2006 |
HTTP_REMOTE_IP | 44.222.186.148 |
SERVER_SIGNATURE | |
SERVER_SOFTWARE | Apache |
SERVER_NAME | www.gilles-commercants.be |
SERVER_ADDR | 10.10.20.92 |
SERVER_PORT | 443 |
REMOTE_ADDR | 44.222.186.148 |
DOCUMENT_ROOT | /home/gillescoh/www |
SERVER_ADMIN | postmaster@www.gilles-commercants.be |
SCRIPT_FILENAME | /home/gillescoh/www/index.php |
REMOTE_PORT | 50496 |
REDIRECT_URL | /galeries-photos/annees-2000/2006/soumonces-2006 |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_METHOD | GET |
QUERY_STRING | |
REQUEST_URI | /galeries-photos/annees-2000/2006/soumonces-2006 |
SCRIPT_NAME | /index.php |
HOME | /homez.610/gillescoh |
PWD | /homez.610/gillescoh/www |
UID | gillescoh |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711702708.3495 |
REQUEST_TIME | 1711702708 |
argv | Array ( [0] => index.php ) |
argc | 1 |
Key | Value |
PATH | /usr/local/bin:/usr/bin:/bin |
REDIRECT_STATUS | 200 |
UNIQUE_ID | ZgaCtDSe-YJBGwPe2uVZIwAAAJQ |
GEOIP_COUNTRY_CODE | US |
GEOIP_COUNTRY_NAME | United States |
GEOIP_REGION | VA |
GEOIP_CITY | Ashburn |
GEOIP_DMA_CODE | 511 |
GEOIP_AREA_CODE | 703 |
GEOIP_LATITUDE | 39.046902 |
GEOIP_LONGITUDE | -77.490303 |
SCRIPT_URL | /galeries-photos/annees-2000/2006/soumonces-2006 |
SCRIPT_URI | https://www.gilles-commercants.be:443/galeries-photos/annees-2000/2006/soumonces-2006 |
HTTPS | on |
CFG_CLUSTER | cluster010 |
ENVIRONMENT | production |
APP_ENGINE_VERSION | 7.2 |
APP_ENGINE | phpcgi |
HTTP_HOST | www.gilles-commercants.be |
HTTP_X_PREDICTOR | 1 |
HTTP_X_FORWARDED_FOR | 44.222.186.148 |
HTTP_X_FORWARDED_PROTO | https |
HTTP_X_OVHREQUEST_ID | 3a748e59b21ef83e7b454198351aa278 |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | claudebot |
HTTP_REFERER | http://www.gilles-commercants.be/galeries-photos/annees-2000/2006/soumonces-2006 |
HTTP_REMOTE_IP | 44.222.186.148 |
SERVER_SIGNATURE | |
SERVER_SOFTWARE | Apache |
SERVER_NAME | www.gilles-commercants.be |
SERVER_ADDR | 10.10.20.92 |
SERVER_PORT | 443 |
REMOTE_ADDR | 44.222.186.148 |
DOCUMENT_ROOT | /home/gillescoh/www |
SERVER_ADMIN | postmaster@www.gilles-commercants.be |
SCRIPT_FILENAME | /home/gillescoh/www/index.php |
REMOTE_PORT | 50496 |
REDIRECT_URL | /galeries-photos/annees-2000/2006/soumonces-2006 |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_METHOD | GET |
QUERY_STRING | |
REQUEST_URI | /galeries-photos/annees-2000/2006/soumonces-2006 |
SCRIPT_NAME | /index.php |
HOME | /homez.610/gillescoh |
PWD | /homez.610/gillescoh/www |
UID | gillescoh |