All the sources codespage 25
PHP
April 27, 2016 am30 01:30
#238
//Global definitions.
//Joomla framework path definitions.
$parts = explode(DIRECTORY_SEPARATOR, JPATH_BASE);
//Defines.
define('JPATH_ROOT', implode(DIRECTORY_SEPARATOR, $parts));
C#
April 23, 2016 am30 10:16
#237
/// <summary>
/// Does the file exist?
/// </summary>
/// <param name="path"></path>
/// <returns></returns>
public static bool exists(String path)
{
return File.Exists(path);
}
JavaScript
April 23, 2016 am30 10:16
#236
<!-- CODE NEEDED TO MAKE ALERT BOXES WORK -->
<script type="text/javascript">
function alertUser(msg) {
alert(msg);
}
</script>