Created
September 11, 2013 13:14
-
-
Save hissy/6523400 to your computer and use it in GitHub Desktop.
[concrete5] Reinstall Job from config/site_post.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php defined('C5_EXECUTE') or die(_("Access Denied.")); | |
Loader::model('job'); | |
$jb = Job::getByHandle('generate_multilingual_sitemap'); | |
if (!is_object($jb)) { | |
Job::installByPackage('generate_multilingual_sitemap', Package::getByHandle('multilingual')); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment