Esempio n. 1
0
 public function __construct()
 {
     global $psp;
     $this->the_plugin = $psp;
     $this->module_folder = $this->the_plugin->cfg['paths']['plugin_dir_url'] . 'modules/local_seo/';
     $this->module_folder_path = $this->the_plugin->cfg['paths']['plugin_dir_path'] . 'modules/local_seo/';
     //if ( $this->the_plugin->dev != 'gimi' ) return ;
     $this->settings = $this->the_plugin->getAllSettings('array', 'local_seo');
     if (isset($this->settings['slug']) && !empty($this->settings['slug'])) {
         self::$slug = $this->settings['slug'];
     }
     if (!$this->the_plugin->verify_module_status('local_seo')) {
     } else {
         $this->init();
     }
 }