Changeset 8231 for sandbox/2.5.1-evolucao/expressoAdmin1_2/controller.php
- Timestamp:
- 10/08/13 11:59:12 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/2.5.1-evolucao/expressoAdmin1_2/controller.php
r7655 r8231 22 22 // Explode action from cExecuteForm function 23 23 $cExecuteFormReturn = false; 24 if( $_POST['_action']) {24 if(isset($_POST['_action'])) { 25 25 if($_FILES) { 26 26 $count_files = $_POST['countFiles']; … … 36 36 } 37 37 // Explode action from cExecute function 38 else if($_GET['action']) 39 list($app,$class,$method) = explode('.',@$_GET['action']); 38 else if($_GET['action']){ 39 $exp = explode('.',@$_GET['action']); 40 //avoiding undefined offsets 41 if (count($exp) > 1) 42 list($app,$class,$method) = explode('.',@$_GET['action']); 43 else 44 $app = $exp[0]; 45 } 40 46 // NO ACTION 41 47 else 42 48 return $_SESSION['response'] = 'false'; 43 44 49 // Load dinamically class file. 45 50 if($app == '$this')
Note: See TracChangeset
for help on using the changeset viewer.