|
From: <txm...@us...> - 2013-07-25 12:33:01
|
Revision: 11855
http://sourceforge.net/p/xoops/svn/11855
Author: txmodxoops
Date: 2013-07-25 12:32:58 +0000 (Thu, 25 Jul 2013)
Log Message:
-----------
Added install.php file
Modified Paths:
--------------
XoopsModules/xoopstube/trunk/xoopstube/xoops_version.php
Added Paths:
-----------
XoopsModules/xoopstube/trunk/xoopstube/include/install.php
Added: XoopsModules/xoopstube/trunk/xoopstube/include/install.php
===================================================================
--- XoopsModules/xoopstube/trunk/xoopstube/include/install.php (rev 0)
+++ XoopsModules/xoopstube/trunk/xoopstube/include/install.php 2013-07-25 12:32:58 UTC (rev 11855)
@@ -0,0 +1,52 @@
+<?php
+/*
+ You may not change or alter any portion of this comment or credits
+ of supporting developers from this source code or any supporting source code
+ which is considered copyrighted (c) material of the original comment or credit authors.
+
+ 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.
+*/
+/**
+ * xoopstube module for xoops
+ *
+ * @copyright The TXMod XOOPS Project http://sourceforge.net/projects/thmod/
+ * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @license GNU GPL 2 (http://www.gnu.org/licenses/gpl.html)
+ * @package xoopstube
+ * @since 2.5.x
+ * @author TXMod Xoops (Timgno) - (su...@tx...) - (http://www.txmodxoops.org)
+ * @version $Id: 1.37 11855 2013-07-25 14:29:35Z timgno $
+ */
+$indexFile = XOOPS_UPLOAD_PATH.'/index.html';
+$blankFile = XOOPS_UPLOAD_PATH.'/blank.gif';
+//Creation du dossier 'uploads' pour le module \xE0 la racine du site
+$xoopstube = XOOPS_UPLOAD_PATH.'/xoopstube';
+if(!is_dir($xoopstube))
+ mkdir($xoopstube, 0777);
+ chmod($xoopstube, 0777);
+copy($indexFile, XOOPS_UPLOAD_PATH.'/xoopstube/index.html');
+
+//Creation du fichier banner dans uploads
+$category = $xoopstube.'/category';
+if(!is_dir($category))
+ mkdir($category, 0777);
+ chmod($category, 0777);
+copy($indexFile, $category.'/index.html');
+
+//Creation du fichier banner dans uploads
+$videos = $xoopstube.'/videos';
+if(!is_dir($videos))
+ mkdir($videos, 0777);
+ chmod($videos, 0777);
+copy($indexFile, $videos.'/index.html');
+copy($blankFile, $videos.'/blank.gif');
+
+//Creation du fichier banner dans uploads
+$screenshots = $xoopstube.'/screenshots';
+if(!is_dir($screenshots))
+ mkdir($screenshots, 0777);
+ chmod($screenshots, 0777);
+copy($indexFile, $screenshots.'/index.html');
+copy($blankFile, $screenshots.'/blank.gif');
\ No newline at end of file
Modified: XoopsModules/xoopstube/trunk/xoopstube/xoops_version.php
===================================================================
--- XoopsModules/xoopstube/trunk/xoopstube/xoops_version.php 2013-07-24 06:15:04 UTC (rev 11854)
+++ XoopsModules/xoopstube/trunk/xoopstube/xoops_version.php 2013-07-25 12:32:58 UTC (rev 11855)
@@ -52,7 +52,17 @@
$modversion['release_date'] = '2013/07/07';
$modversion["module_website_url"] = "www.xoops.org/";
$modversion["module_website_name"] = "XOOPS";
+
+
+
+$modversion["module_status"] = "RC1";
+
+$modversion["module_status"] = "Beta1";
+
+$modversion["module_status"] = "Beta 2";
+
$modversion["module_status"] = "RC 1";
+
$modversion['min_php'] = '5.2';
$modversion['min_xoops'] = "2.5.6";
$modversion['min_admin'] = '1.1';
@@ -77,7 +87,7 @@
// Launch additional install script to check
// the existence of tables 'wf_resources_types' and 'wf_resources'
-$modversion['onInstall'] = '';
+$modversion['onInstall'] = 'include/install.php';
$modversion['onUpdate'] = 'include/update.php';
// Admin things
|