Commit 50857399 authored by Ændra Rininsland's avatar Ændra Rininsland
Browse files

Modified profile to possibly work better with Simplytest.me

parent c8f77491
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -3,10 +3,11 @@
 * @file
 * Install profile for openMusicFestival. Basically just requires Profiler.
 */
if (gethostname() == 'simplytest.me') {
if (gethostname() != 'simplytest.me') {
  !function_exists('profiler_v2') ? require_once 'libraries/profiler/profiler.inc' : FALSE;
}
else {
  !function_exists('profiler_v2') ? require_once '/profiles/openmusicfestival/libraries/profiler/profiler.inc' : FALSE;
  global $base_path;
  !function_exists('profiler_v2') ? require_once $base_path . '/profiles/openmusicfestival/libraries/profiler/profiler.inc' : FALSE;
}
profiler_v2('openmusicfestival');