You are here

function photobox_library_path_check in PhotoboxPhotobox 7

1 call to photobox_library_path_check()
_photobox_library_path in ./photobox.module
Returns the path to the Photobox library.

File

./photobox.module, line 349
Main file for the Photobox module.

Code

function photobox_library_path_check($library_path) {
  if (file_exists($library_path . '/jquery.photobox.js') || file_exists($library_path . '/photobox.js') || file_exists($library_path . '/photobox.min.js')) {
    return TRUE;
  }
  return FALSE;
}