alecpl
2011-08-03 159763861e15fce2006b1830ebdb646c5ad52d0c
program/include/rcube_json_output.php
@@ -75,7 +75,11 @@
     */
    public function set_pagetitle($title)
    {
        $name = $this->config->get('product_name');
        if ($this->config->get('devel_mode') && !empty($_SESSION['username']))
            $name = $_SESSION['username'];
        else
            $name = $this->config->get('product_name');
        $this->command('set_pagetitle', empty($name) ? $title : $name.' :: '.$title);
    }