PageRenderTime 41ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/htdocs/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/mvc/templates/index.php

https://github.com/Fishgate/privatecollectionswp
PHP | 15 lines | 14 code | 1 blank | 0 comment | 0 complexity | b2c02951d96e437b72e377bc5ad3e011 MD5 | raw file
  1. <?php
  2. $settings = C_NextGen_Settings::get_instance();
  3. $obj = method_exists($this, 'get_class_definition_dir') ? $this : $this->object;
  4. $template_dir = implode(DIRECTORY_SEPARATOR, array($obj->get_class_definition_dir(), 'templates'));
  5. $default_template_dir = $settings->mvc_template_dir;
  6. ?>
  7. <h1>Welcome to Pope MVC!</h1>
  8. <p>
  9. You have not yet created a index.php file in:<br/><strong><?php echo $template_dir; ?></strong>
  10. </p>
  11. <p>
  12. So, you're being served the index.php from the default directory:<br/>
  13. <strong><?php echo $default_template_dir ?></strong>
  14. </p>