Skip to content
Snippets Groups Projects
synclangfiles.php 1.54 KiB
Newer Older
André Lahmann's avatar
André Lahmann committed
<?php
/**
André Lahmann's avatar
André Lahmann committed
 * This tool allows to compare and synchronize language files for VuFind2.
 * You can either run it as CLI-tool with output on STDOUT to check whether
 * language files are out of sync (default) or synchronize language files
 * automatically by writing the missing lines into the .ini files.
André Lahmann's avatar
André Lahmann committed
 *
André Lahmann's avatar
André Lahmann committed
 * For more available options see run php synclangfiles.php --help
André Lahmann's avatar
André Lahmann committed
 *
 * PHP version 5
 *
André Lahmann's avatar
André Lahmann committed
 * Copyright (C) Leipzig University Library 2015.
André Lahmann's avatar
André Lahmann committed
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2,
 * as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 * @category VuFind2
 * @package  Utilities
André Lahmann's avatar
André Lahmann committed
 * @author   André Lahmann <lahmann@ub.uni-leipzig.de>
André Lahmann's avatar
André Lahmann committed
 * @license  http://opensource.org/licenses/gpl-2.0.php GNU General Public License
 * @link     http://vufind.org/wiki Wiki
 */

// Load the Zend framework -- this will automatically trigger the appropriate
// controller action based on directory and file names
define('CLI_DIR', __DIR__);     // save directory name of current script
require_once __DIR__ . '/../public/index.php';