فهرست منبع

Add files via upload

Enrique Alcaraz 7 سال پیش
والد
کامیت
458f887562
3فایلهای تغییر یافته به همراه10 افزوده شده و 10 حذف شده
  1. 1 1
      plugin/redirection/config.php
  2. 5 5
      plugin/redirection/index.php
  3. 4 4
      plugin/redirection/uninstall.php

+ 1 - 1
plugin/redirection/config.php

@@ -7,4 +7,4 @@
 */
 
 require_once __DIR__.'/../../main/inc/global.inc.php';
-require_once __DIR__.'/lib/PluginRedirection.php';
+require_once __DIR__.'/lib/PluginRedirection.php';

+ 5 - 5
plugin/redirection/index.php

@@ -1,10 +1,10 @@
 <?php
 /* For licensing terms, see /license.txt */
 /**
- * Config the plugin
- * @author Enrique Alcaraz Lopez 
- * @package chamilo.plugin.redirection
- */
+* Config the plugin
+* @author Enrique Alcaraz Lopez
+* @package chamilo.plugin.redirection
+*/
 
 require_once __DIR__.'/config.php';
 $redirecciones = PluginRedirection::get();
@@ -12,7 +12,7 @@ $redirecciones = PluginRedirection::get();
 if (isset($_REQUEST["id"])) {
     PluginRedirection::delete($_REQUEST["id"]);
     header("Location: index.php");
-    exit();
+    exit();    
 } elseif (isset($_POST["submit_button"])) {    
     PluginRedirection::insert($_POST["user_id"], $_POST["url"]);
     header("Location: index.php");

+ 4 - 4
plugin/redirection/uninstall.php

@@ -1,7 +1,7 @@
 <?php
 /* For licensing terms, see /license.txt */
 /**
-* Uninstall the plugin
-* @author Enrique Alcaraz Lopez
-* @package chamilo.plugin.redirection
-*/
+ * Uninstall the plugin
+ * @author Enrique Alcaraz Lopez
+ * @package chamilo.plugin.redirection
+ */