CRM-12674 wordpress fix broke update settings for drupal
[civicrm-core.git] / CRM / Utils / System / Base.php
index cc084af6675aa6349ef7f7bc3cbd8dc4ec2d515c..4d951a12e180464c789978974bdfd105ab7840ce 100644 (file)
@@ -127,5 +127,17 @@ abstract class CRM_Utils_System_Base {
   function flush() {
     // nullop by default
   }
+    /**
+   * Return default Site Settings
+   * @return array array
+   * - $url, (Joomla - non admin url)
+   * - $siteName,
+   * - $siteRoot
+   */
+  function getDefaultSiteSettings($dir){
+    $config = CRM_Core_Config::singleton();
+    $url = $config->userFrameworkBaseURL;
+    return array($url, NULL, NULL);
+  }
 }