mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Merge branch 'rhymix:master' into master
This commit is contained in:
commit
0598ae4b95
23 changed files with 132 additions and 63 deletions
|
|
@ -624,7 +624,8 @@ class FrontEndFileHandler extends Handler
|
|||
{
|
||||
$url .= '?t=' . filemtime($file->fileFullPath);
|
||||
}
|
||||
$result[] = array('file' => $url);
|
||||
$attrs = empty($file->jstype) ? '' : (' type="' . $file->jstype . '"');
|
||||
$result[] = array('file' => $url, 'attrs' => $attrs);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -642,7 +643,7 @@ class FrontEndFileHandler extends Handler
|
|||
Rhymix\Framework\Storage::write(\RX_BASEDIR . $concat_filename, $concat_content);
|
||||
}
|
||||
$concat_filename .= '?t=' . filemtime(\RX_BASEDIR . $concat_filename);
|
||||
$result[] = array('file' => \RX_BASEURL . $concat_filename);
|
||||
$result[] = array('file' => \RX_BASEURL . $concat_filename, 'attrs' => '');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -235,7 +235,7 @@ class ModuleObject extends BaseObject
|
|||
catch (Rhymix\Framework\Exception $e)
|
||||
{
|
||||
$this->stop($e->getMessage(), -2);
|
||||
$this->add('rx_error_location', $e->getFile() . ':' . $e->getLine());
|
||||
$this->add('rx_error_location', $e->getUserFileAndLine());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -857,8 +857,7 @@ class ModuleObject extends BaseObject
|
|||
catch (Rhymix\Framework\Exception $e)
|
||||
{
|
||||
$output = new BaseObject(-2, $e->getMessage());
|
||||
$location = $e->getFile() . ':' . $e->getLine();
|
||||
$output->add('rx_error_location', $location);
|
||||
$output->add('rx_error_location', $e->getUserFileAndLine());
|
||||
}
|
||||
|
||||
// Trigger after specific action
|
||||
|
|
|
|||
|
|
@ -389,8 +389,8 @@ class Validator
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns the last error infomation including a field name and an error message.
|
||||
* @return array The last error infomation
|
||||
* Returns the last error information including a field name and an error message.
|
||||
* @return array The last error information
|
||||
*/
|
||||
function getLastError()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue