Always use default theme as the fundamental theme to search for missing template...
authorcindy li <cli@ocad.ca>
Thu, 6 Jan 2011 16:55:54 +0000 (16:55 -0000)
committercindy li <cli@ocad.ca>
Thu, 6 Jan 2011 16:55:54 +0000 (16:55 -0000)
docs/include/vitals.inc.php

index 2593e5b..c51d3ee 100644 (file)
@@ -233,7 +233,7 @@ if ($_config['time_zone']) {
 
        // set default template paths:
        $savant = new Savant2();
-       $savant->addPath('template', AT_INCLUDE_PATH . '../themes/'.get_system_default_theme().'/');
+       $savant->addPath('template', AT_INCLUDE_PATH . '../themes/default/');
 
        //if user has requested theme change, make the change here
        if (($_POST['theme'] || $_POST['mobile_theme']) && $_POST['submit']) {