| @@ -2,10 +2,10 @@ | ||
| 2 | 2 | /** |
| 3 | 3 | * Static Wrapper for Bootstrap Class |
| 4 | 4 | * Prevents T_STRING error when checking for 5.3.2 |
| 5 | 5 | */ |
| 6 | -class NestedPages | |
| 7 | -{ | |
| 6 | +class NestedPages { | |
| 7 | + | |
| 8 | 8 | public static function init() |
| 9 | 9 | { |
| 10 | 10 | // dev/live |
| 11 | 11 | global $np_env; |
| @@ -11,10 +11,9 @@ | ||
| 11 | 11 | global $np_env; |
| 12 | 12 | $np_env = 'live'; |
| 13 | 13 | |
| 14 | 14 | global $np_version; |
| 15 | - $np_version = '3.2.2'; | |
| 15 | + $np_version = '1.2.0'; | |
| 16 | 16 | |
| 17 | - if ( is_admin() ) $app = new NestedPages\Bootstrap; | |
| 18 | - if ( !is_admin() ) $app = new NestedPages\FrontEndBootstrap; | |
| 17 | + $app = new NestedPages\Bootstrap; | |
| 19 | 18 | } |
| 20 | 19 | } |