XOOPS  2.6.0
update.php
Go to the documentation of this file.
1 <?php
2 /*
3  You may not change or alter any portion of this comment or credits
4  of supporting developers from this source code or any supporting source code
5  which is considered copyrighted (c) material of the original comment or credit authors.
6 
7  This program is distributed in the hope that it will be useful,
8  but WITHOUT ANY WARRANTY; without even the implied warranty of
9  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10  */
11 
28 {
30  // copy font-awesome font files to assets directory
31  $dir = dirname(__DIR__).'/assets/fonts';
32  $pattern = 'fontawesome-webfont.*';
33  return $xoops->assets()->copyFileAssets($dir, $pattern, 'fonts');
34 }
35 
45 {
46  return xoops_module_install_debugbar($module);
47 }
static getInstance()
Definition: Xoops.php:160
xoops_module_install_debugbar(XoopsModule $module)
Definition: update.php:27
$module
Definition: update.php:55
$dir
Definition: browse.php:56
xoops_module_update_debugbar(XoopsModule $module, $version)
Definition: update.php:44
$xoops
Definition: update.php:23