Skip to content

Commit

Permalink
Updated: Updated cronjob parts to use lib/access.php to retain cronjo…
Browse files Browse the repository at this point in the history
…b part functionality
  • Loading branch information
brookinsconsulting committed May 27, 2013
1 parent de31c52 commit 7f1d2bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion cronjobs/generate.php
Expand Up @@ -2,6 +2,7 @@
/**
* File containing the all2egooglesitemaps siteaccess sitemap generator cronjob part
*
* @copyright Copyright (C) 1999 - 2013 Brookins Consulting. All rights reserved.
* @copyright Copyright (C) 2008 all2e GmbH. All rights reserved.
* @license http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2
* @version //autogentag//
Expand Down Expand Up @@ -82,7 +83,7 @@
return;
}

require_once "access.php";
require_once "extension/all2egooglesitemaps/lib/access.php";
$access = changeAccess( array("name" => $language["siteaccess"],
"type" => EZ_ACCESS_TYPE_URI
) );
Expand Down
4 changes: 2 additions & 2 deletions cronjobs/generatemultilingual.php
Expand Up @@ -14,7 +14,7 @@
*
* Finally a valid xml sitemap file is written out to disk (settings based var/ dir root by default)
*
* @copyright Copyright (C) 1999 - 2012 Brookins Consulting. All rights reserved.
* @copyright Copyright (C) 1999 - 2013 Brookins Consulting. All rights reserved.
* @copyright Copyright (C) 2008 all2e GmbH
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt GNU GPL v2 (or later)
* @version //autogentag//
Expand Down Expand Up @@ -144,7 +144,7 @@
/**
* Prepare to create new xml document
*/
require_once 'access.php';
require_once 'extension/all2egooglesitemaps/lib/access.php';
$access = changeAccess( array( 'name' => $language['siteaccess'],
'type' => EZ_ACCESS_TYPE_URI
) );
Expand Down

0 comments on commit 7f1d2bf

Please sign in to comment.