/**
  * Get path to exported settings
  * @author alex
  * @return array
  */
 public static function getSliderConfigs()
 {
     $dir = ctImport::getDemoContentBaseDir() . '/layer_slider*.json';
     $r = glob($dir);
     if ($r === false) {
         return array();
     }
     return $r;
 }
 /**
  * Get path to exported settings
  * @author alex
  * @return string
  */
 public static function getWpOptionsPath()
 {
     return ctImport::getDemoContentBaseDir() . '/wp_options.txt';
 }
Ejemplo n.º 3
0
 /**
  * Import
  */
 public static function handleCtDemoImportAction()
 {
     $import = new ctImport();
     $import->dispatch();
     exit;
 }