Skip to content

Commit

Permalink
upgrade version to v2.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
thaolt committed Nov 8, 2015
1 parent 6bffbbe commit 272d82a
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 6 deletions.
10 changes: 5 additions & 5 deletions bol/service.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php
/**
* Copyright 2015 SongPhi
*
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
Expand All @@ -16,12 +16,12 @@
*/

/**
*
*
*/
class SPVIDEOLITE_BOL_Service
{
const PLUGIN_NAME = 'spvideolite';
const PLUGIN_VER = 'v2.1.0';
const PLUGIN_VER = 'v2.1.1';
protected static $classInstance = null;
protected static $processors = null;

Expand Down
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<authorEmail>sales@songphi.com</authorEmail>
<authorUrl>http://owdemo.songphi.com</authorUrl>
<developerKey>21a0f37c3797eb620e85c5fe75ce5294</developerKey>
<build>20100</build>
<build>20101</build>
<copyright>(c) 2015 SongPhi LLC.</copyright>
<license>Apache 2.0</license>
<licenseUrl>https://raw.githubusercontent.com/SongPhi/spvideolite/master/LICENSE</licenseUrl>
Expand Down
31 changes: 31 additions & 0 deletions update/20101/update.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?php
/**
* Copyright 2015 SongPhi
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations
* under the License.
*/

// refresh static cache
$plugin = OW::getPluginManager()->getPlugin('spvideolite');
$staticDir = OW_DIR_STATIC_PLUGIN . $plugin->getModuleName() . DS;
$pluginStaticDir = OW_DIR_PLUGIN . $plugin->getModuleName() . DS . 'static' . DS;

if ( file_exists($staticDir) ) {
@UTIL_File::removeDir($staticDir);
}

@mkdir($staticDir);
@chmod($staticDir, 0777);
@UTIL_File::copyDir($pluginStaticDir, $staticDir );

@Updater::getLanguageService()->importPrefixFromZip(dirname(dirname(dirname(__FILE__))).DS.'langs.zip', 'spvideolite');

0 comments on commit 272d82a

Please sign in to comment.