*/ /** * Settings here are only read when the plugin is activated. If you change something here you MUST deactivate/reactivate */ /** * Front end page controllers. You should define these if you want a public (or private) page to act as a front end controller. * If you only require widget and/or shortcode functionality then leave $tina_mvc_pages = array() i.e. an empty array */ $tina_mvc_pages = array(); $tina_mvc_pages[] = array( 'page_title'=>'Tina MVC for Wordpress', 'page_name'=>'tina-mvc-for-wordpress', 'page_status'=>'publish' ); $tina_mvc_pages[] = array( 'page_title'=>'Tina', 'page_name'=>'tina', 'page_status'=>'private' ); $tina_mvc_default_role_to_view = '-1'; $tina_mvc_login_logout_redirect = 'administrator,editor'; $tina_mvc_logon_redirect_target = 'tina-mvc-for-wordpress'; $tina_mvc_logout_redirect_target = 'tina-mvc-for-wordpress'; $tina_mvc_default_capability_to_view = ""; $tina_mvc_recaptcha_pub_key = ''; $tina_mvc_recaptcha_pri_key = ''; /** * Do you want to enable app_bootstrap functions? * * Each bootstrap function should be in its' own file (with the same name as the function) in the folder * app_bootstrap/. * * e.g. myBootstrapFuncts() in file myBootstrapFuncts.php * * Bootstrap functions are executed for every wordpress page (not just the Tina MVC pages). By default * this is disabled. */ $tina_mvc_enable_bootstrap_funcs = 0; /** * These are run on the init action hook. Place your function * in a file of the same name in app_init_bootstrap. * * e.g. myInitBootstrapFuncts() in file myInitBootstrapFuncts.php */ $tina_mvc_enable_init_bootstrap_funcs = 0; /** * Used with the front end page controllers. You should define these if you want a public (or private) page to act as a front end controller. * If you only require widget and/or shortcode functionality then leave $tina_mvc_pages = array() i.e. an empty array * * @var $tina_mvc_missing_page_controller_action string 'display_error' displays a missing controller error, 'display_404' * shows the Wordpress '404' or 'page' or 'index' template (in order of preference), 'display_index' show the default * 'index' page controller for that front end controller (the 'index_page.php' file) * * When widgets and shortcodes receive no content they just return blank content for the moment */ $tina_mvc_missing_page_controller_action = 'display_error'; /** * A array of files and folders that will be backed up and restored when plugin is upgraded * * You can add your own folders and files to this array. * * When Tina MVC is upgraded it tries to create a folder called `tina_mvc_upgrade_backup` in the * `wp-content/upgrade` folder and copies any files and folders you specify in this array. After * the plugin is upgraded the files are copied back. * * Important: You can only specify files and directories in the `tina-mvc` plugin folder. * Any directories will be recursively copied. */ $tina_mvc_upgrade_backups = array( 'tina_mvc_app_settings.php', 'app', 'app_css', 'app_emails', 'app_js', 'app_bootstrap', 'app_init_bootstrap' , 'app_install_remove' ); ?>