Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * shimansky.biz, mobile-english.ru
- *
- * Static web site core scripts
- * @package shimansky.biz
- * @author Serguei Shimansky <englishextra@yandex.ru>
- * @copyright Serguei Shimansky 11:28 23.07.2011
- * @access public
- * @version 0.1
- * @link https://bitbucket.org/englishextra/shimansky.biz
- * @link https://bitbucket.org/englishextra/mobile-english.ru
- * @link https://github.com/englishextra/shimansky.biz.git
- * @link https://github.com/englishextra/mobile-english.ru.git
- */
- $relpa = ($relpa0 = preg_replace("/[\/]+/", "/", $_SERVER['DOCUMENT_ROOT'] . '/')) ? $relpa0 : '';
- $regional_file_path = ($server_http_host = $_SERVER['HTTP_HOST']) ? $relpa . 'inc/regional_' . str_replace('www.', '', $server_http_host) . '.inc' : '';
- $pt_regional = null;
- if (file_exists($regional_file_path)) {include $regional_file_path;}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement