<?php
/**************************************************
  Coppermine Plugin - Search Album
  *************************************************
  Copyright (c) 2005 Paul Van Rompay
  *************************************************
  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.
***************************************************/

if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}

// define('PLUGIN_SEARCHALBUM_INIT', true);  // not used yet

// submit your lang file for this plugin on the coppermine forums
// plugin will try to use the configured language if it is available.

global $CONFIG;

if (file_exists("plugins/search_album/lang/{$CONFIG['lang']}.php")) {
  require "plugins/search_album/lang/{$CONFIG['lang']}.php";
} else require 'plugins/search_album/lang/english.php';

?>