PATH:
home
/
letacommog
/
letaweb
<?php require_once 'config.php'; require_once 'global_functions.php'; $domain = $_SERVER['HTTP_HOST']; if (isMainSite($domain)) { $is_installed = strlen($db_host); if(!$is_installed) header('Location:/install.php'); $config = dirname(__FILE__).'/protected/config/main.php'; Yii::setPathOfAlias('application_admin', dirname(__FILE__).'/admin'); Yii::setPathOfAlias('application_root', dirname(__FILE__)); Yii::setPathofAlias('site_app', dirname(__FILE__).'/admin'); Yii::setPathofAlias('bbclone_app', dirname(__FILE__).'/bbclone'); //try { include dirname(__FILE__).'/admin/classes/WebApplication.php'; $app = Yii::createApplication('WebApplication',$config); $app->isMainSite = true; $app->builderMode = true; $app->run(); //} // catch(Exception $e) { // echo $e->getMessage(); //} exit(); } $maindomain = extract_domain($domain); if (isMainSite($maindomain)) { $subdomain = extract_subdomains($domain); $mainSubdomain = $subdomain; $subdomains = explode('.', $subdomain); if (sizeof($subdomains) == 1) { $mainSubdomain = $subdomains[0]; } else { $mainSubdomain = $subdomains[sizeof($subdomains) - 1]; } if ($mainSubdomain == 'template') { $templateName = ''; $subdomain = array_slice($subdomains, 0, -1); $subdomain = implode('.', $subdomain); if (strlen($subdomain) > 0) { run($subdomain, 'template', 1, 0); exit(); } } else { run($subdomain, 'website', 1); } exit(); } run($domain, 'website', 1, 1);
[+]
..
[-] olkycafm.php
[edit]
[-] ipn.php
[edit]
[+]
install
[-] dba_config.php
[edit]
[+]
php_config
[+]
sample_images
[-] global_functions.php
[edit]
[-] mail_config.php
[edit]
[-] version.php
[edit]
[-] rzhyqmcf.php
[edit]
[-] hosting_config.php
[edit]
[-] install.php
[edit]
[-] sthumb.php
[edit]
[+]
assets
[-] jytvfhlh.php
[edit]
[-] xphdvzfz.php
[edit]
[-] admin.php
[edit]
[-] session_config.php
[edit]
[+]
protected
[-] db_config.php
[edit]
[+]
cache
[-] ugbidzzi.php
[edit]
[-] stats.php
[edit]
[-] index.php
[edit]
[-] config.php
[edit]
[-] log_config.php
[edit]
[-] sadtbusf.php
[edit]
[+]
websites
[+]
languages
[-] fugveiqp.php
[edit]
[-] rnqbcnev.php
[edit]
[+]
css
[+]
admin
[-] jaklzfte.php
[edit]
[-] nkfngbxn.php
[edit]
[+]
images
[+]
requirements
[+]
background_images
[-] payment_config.php
[edit]
[-] mainsite_config.php
[edit]
[-] _functions.php
[edit]
[+]
fonts
[-] izbcvwpg.php
[edit]
[+]
framework
[+]
bbclone
[-] zwzvzhuf.php
[edit]
[+]
scripts
[+]
update