Example #1
0
 public function PageLoad()
 {
     if ($this->TakingAction()) {
         $this->ProcessAction();
     }
     $plugins = $this->GetPlugins();
     $uploadDir = new ImageUploadDirectory();
     $cacheDir = new TemplateCacheDirectory();
     $this->Set('plugins', $plugins);
     $this->Set('currentTime', date('Y-m-d, H:i:s (e P)'));
     $this->Set('imageUploadDirPermissions', substr(sprintf('%o', fileperms($uploadDir->GetDirectory())), -4));
     $this->Set('imageUploadDirectory', $uploadDir->GetDirectory());
     $this->Set('tempalteCacheDirectory', $cacheDir->GetDirectory());
     $this->Display('server_settings.tpl');
 }