backend/controllers/WidgetController.php 1 location
|
@@ 304-309 (lines=6) @@
|
301 |
|
$this->enableCsrfValidation = false; |
302 |
|
} |
303 |
|
|
304 |
|
if (parent::beforeAction($action)) { |
305 |
|
$this->_dir = Yii::getAlias('@widgets/'); |
306 |
|
$this->_tmp = Yii::getAlias('@common/tmp/widgets/'); |
307 |
|
|
308 |
|
return true; |
309 |
|
} |
310 |
|
|
311 |
|
return false; |
312 |
|
} |
backend/controllers/ModuleController.php 1 location
|
@@ 265-270 (lines=6) @@
|
262 |
|
*/ |
263 |
|
public function beforeAction($action) |
264 |
|
{ |
265 |
|
if (parent::beforeAction($action)) { |
266 |
|
$this->_dir = Yii::getAlias('@modules/'); |
267 |
|
$this->_tmp = Yii::getAlias('@common/tmp/modules/'); |
268 |
|
|
269 |
|
return true; |
270 |
|
} |
271 |
|
|
272 |
|
return false; |
273 |
|
} |