Skip to content
  • This project
    • Loading...
  • Sign in

Commonwell / broker-site

Go to a project
Toggle navigation
Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • broker-site
  • wp-content
  • plugins
  • favorites
  • app
  • Favorites.php
  • Jeremy Groot's avatar
    plugin updates · 5603d03c
    5603d03c
    Jeremy Groot committed 2023-10-02 10:53:08 -0400
Favorites.php 398 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
<?php 
/**
* Static Wrapper for Bootstrap Class
* Prevents T_STRING error when checking for 5.3.2
*/
class Favorites 
{
	public static function init()
	{
		// dev/live
		global $favorites_env;
		$favorites_env = 'live';

		global $favorites_version;
		$favorites_version = '2.3.3';

		global $favorites_name;
		$favorites_name = __('Favorites', 'favorites');

		$app = new Favorites\Bootstrap;
	}
}