Example #1
0
File: Grw.php Project: daolei/grw
 function __construct()
 {
     parent::__construct();
     $this->__initial('Grw');
     $this->PIC = "http://www.grw.name/upload/";
     $this->STATICS = "http://www.grw.name/statics/";
     //ini_set('memory_limit', '-1');
     $this->userid = $_SESSION['Fei_Userid'];
     $this->logs = FeiClass('FeiLog');
     if ($this->__is_ie()) {
         $this->isie = TRUE;
     } else {
         $this->isie = FALSE;
     }
 }
Example #2
0
 function __construct()
 {
     parent::__construct();
     $siteurl = "http://www.grw.name";
     $this->CSS_PATH = $siteurl . "/assets/css/";
     $this->JS_PATH = $siteurl . "/assets/js/";
     $this->FONT_PATH = $siteurl . "/assets/font/";
     $this->IMG_PATH = $siteurl . "/assets/img/";
     $this->SITEURL = $siteurl;
     $this->STATICS = $siteurl . "/themes/web3/";
     $this->ABOUTURL = $siteurl . "/index.php?c=content&a=about";
     $this->LOGINURL = $siteurl . "/index.php?c=content&a=login";
     $this->REGISTERURL = $siteurl . "/index.php?c=content&a=register";
     $this->SERVICESURL = $siteurl . "/index.php?c=content&a=services";
     $this->CONTACTURL = $siteurl . "/index.php?c=content&a=contact";
     $this->PROJECTURL = $siteurl . "/index.php?c=content&a=project";
     $this->BLOGURL = $siteurl . "/index.php?c=content&a=blog";
 }